RE: field:* vs field:[* TO *]

2019-04-18 Thread Uwe Schindler
Hi, > I was pointed to Lucene from the Solr list. I am wondering if the > performance of the below two queries is expected to be quite different and > would they return the same set of results? > > field:* > field:[* TO *] >From the Lucene side they are identical, but it depends on the implement

field:* vs field:[* TO *]

2019-04-17 Thread John Davis
Hello, I was pointed to Lucene from the Solr list. I am wondering if the performance of the below two queries is expected to be quite different and would they return the same set of results? field:* field:[* TO *] The use case I am trying to optimize is returning all documents that contain any va

Re: field:* vs field:[* TO *]

2017-07-27 Thread Adrien Grand
This is going to depend on the queryparser that you are using and the field type of `field`. I agree both should be handled as efficiently. Le jeu. 20 juil. 2017 à 22:56, Hendrik Haddorp a écrit : > Hi, > > I had already asked this on the Solr mailing list but would like to > confirm this here:

field:* vs field:[* TO *]

2017-07-20 Thread Hendrik Haddorp
Hi, I had already asked this on the Solr mailing list but would like to confirm this here: If I want to query all documents that have a field or do not have a field does it really perform better to use "field:[* TO *]" instead of "field:*" ? I would have expected that Lucene handles both que