lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Davis <>
Subject field:* vs field:[* TO *]
Date Thu, 18 Apr 2019 03:34:47 GMT
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:[* TO *]

The use case I am trying to optimize is returning all documents that
contain any value for a given field, and I've noticed the queries to be
quite slow especially for fields that have a large number of distinct


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message