RE: Looking for docs that have certain fields empty (an/or not set)

2015-01-07 Thread Uwe Schindler
Hi, In Lucene you don't need to use a query parser for that, especially because range Queries is suboptimal and slow: There is already a very fast query/filter available. Ahmet Arslan already mentioned that, we had the same discussion a few weeks ago:

RE: Looking for docs that have certain fields empty (an/or not set)

2015-01-07 Thread Chris Hostetter
: In Lucene you don't need to use a query parser for that, especially : because range Queries is suboptimal and slow: There is already a very : fast query/filter available. Ahmet Arslan already mentioned that, we had : the same discussion a few weeks ago: :

Re: Looking for docs that have certain fields empty (an/or not set)

2015-01-07 Thread Jack Krupansky
Oops... I take that back! After I clicked Send I realized that this is the Lucene list - what I said is true for Solr queries, but that is because Solr added a hack to do things properly, but the Lucene query parser doesn't have that hack, so Erick is correct. -- Jack Krupansky On Wed, Jan 7,

Re: Looking for docs that have certain fields empty (an/or not set)

2015-01-07 Thread Erick Erickson
Should be, but it's a bit confusing because the query syntax is not pure boolean, so there's no set to take away the docs with entries in field 1, you need the match all docs bit, i.e. *:* -field1:[* TO *] (That's asterisk:asterisk -field1:[* TO *] in case the silly list interprets the asterisks

Re: Looking for docs that have certain fields empty (an/or not set)

2015-01-07 Thread Ahmet Arslan
Hi Clemens, Since you are a lucene user, you might be interested in Uwe's response on a similar topic : http://find.searchhub.org/document/abb73b45a48cb89e Ahmet On Wednesday, January 7, 2015 6:30 PM, Erick Erickson erickerick...@gmail.com wrote: Should be, but it's a bit confusing because