Re: docValues usage

2020-11-04 Thread Wei
And in the case of both stored=true and docValues=true, Solr 8.x shall be choosing the optimal approach by itself? On Wed, Nov 4, 2020 at 9:15 AM Wei wrote: > Thanks Erick. As indexed is not necessary, and docValues is more > efficient than stored fields for function queries, so we shall go w

Re: docValues usage

2020-11-04 Thread Wei
Thanks Erick. As indexed is not necessary, and docValues is more efficient than stored fields for function queries, so we shall go with the following: 3) indexed=false, stored=false, docValues=true. Is my understanding correct? Best, Wei On Wed, Nov 4, 2020 at 5:24 AM Erick Erickson wrot

Re: docValues usage

2020-11-04 Thread Erick Erickson
You don’t need to index the field for function queries, see: https://lucene.apache.org/solr/guide/8_6/docvalues.html. Function queries, as opposed to sorting, faceting and grouping are evaluated at search time where the search process is already parked on the document anyway, so answering the

Re: docValues usage

2020-11-04 Thread uyilmaz
Hi, I'm by no means expert on this so if anyone sees a mistake please correct me. I think you need to index this field, since boost functions are added to the query as optional clauses (https://lucene.apache.org/solr/guide/6_6/the-dismax-query-parser.html#TheDisMaxQueryParser-Thebf_BoostFunctio