Re: Order of fields in a search query.

2013-08-31 Thread Aloke Ghoshal
Hi Deepak, As Hoss explains it, there wouldn't be any effect of changing the order of individual search terms. In addition, you could look at the Scoring algo: http://lucene.apache.org/core/2_9_4/scoring.html#Algorithm,

Order of fields in a search query.

2013-08-30 Thread Deepak Konidena
Does the order of fields matter in a lucene query? For instance, q = A B C Lets say A appears in a million documents, B in 1, C in 1000. while the results would be identical irrespective of the order in which you AND A, B and C, will the response times of the following queries differ in

Re: Order of fields in a search query.

2013-08-30 Thread Chris Hostetter
: while the results would be identical irrespective of the order in which you : AND : A, B and C, will the response times of the following queries differ in any : way? : : C B A : A B C The queries won't be *cached* the same at the solr level, because the BooleanQuery generated by the