You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Gargate, Siddharth" <sg...@ptc.com> on 2009/09/22 14:09:48 UTC

Query performance

Hi all,

                Does the following query has any performance impact over
the second query?

 

+title:lucene +(title:lucene -name:sid)

 

 

+(title:lucene -name:sid)

 

 


Re: Query performance

Posted by Chris Hostetter <ho...@fucit.org>.
:                 Does the following query has any performance impact over
: the second query?

: +title:lucene +(title:lucene -name:sid)

: +(title:lucene -name:sid)

the second should in theory be faster then the first just because of 
reduced number of comparisons needed -- but wether or not you would 
actually notice a difference is mainly going to depend on your data.


-Hoss