"policy" reference in Collection Management Commands

2024-10-10 Thread Yuntong Qu
Hi,

In the ref guide, reindex collection section
,
there is a reference to "policy".

The following parameters are currently supported (described in detail in
> the CREATE collection
> 
>  section): numShards, replicationFactor, nrtReplicas, tlogReplicas,
> pullReplicas, shards, policy, createNodeSet, createNodeSet.shuffle,
> router.*.


However, "policy" param is not at all presented in the current create
collection section, and going through code for reindex collection and
create collection, I see no reference to "policy".

It seems that reference to "policy" was mostly removed on 8.6 and 9.0.

Is it safe to remove "policy" param from ref guide?

Yuntong


Re: "policy" reference in Collection Management Commands

2024-10-10 Thread Eric Pugh
I suspect so!  Would love to see a PR.
Sent from my iPhone

> On Oct 10, 2024, at 2:01 PM, Yuntong Qu  wrote:
> 
> Hi,
> 
> In the ref guide, reindex collection section
> ,
> there is a reference to "policy".
> 
> The following parameters are currently supported (described in detail in
>> the CREATE collection
>> 
>> section): numShards, replicationFactor, nrtReplicas, tlogReplicas,
>> pullReplicas, shards, policy, createNodeSet, createNodeSet.shuffle,
>> router.*.
> 
> 
> However, "policy" param is not at all presented in the current create
> collection section, and going through code for reindex collection and
> create collection, I see no reference to "policy".
> 
> It seems that reference to "policy" was mostly removed on 8.6 and 9.0.
> 
> Is it safe to remove "policy" param from ref guide?
> 
> Yuntong


-
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org