lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Haddorp <hendrik.hadd...@gmx.net>
Subject field:* vs field:[* TO *]
Date Thu, 20 Jul 2017 20:56:19 GMT
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 queries 
internally the same and is not really expanding the wildcard to all 
possible tokens.

regards,
Hendrik

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message