lars-erik / luke

Automatically exported from code.google.com/p/luke
0 stars 0 forks source link

Queries that select all without a certain field return all #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you're trying to select all documents without a certain field like so

+(+*:* -myfield.id:[* TO *])

all documents will be returned when it should return all without myfield.id

Original issue reported on code.google.com by m.schipp...@gmail.com on 12 Sep 2011 at 12:46

GoogleCodeExporter commented 9 years ago
This depends on the analyzer that you are using. Please check what the parsed 
query looks like, it should be informative. Also, the syntax "*:*" is supported 
only in Solr AFAIK.

Original comment by sig...@gmail.com on 28 Dec 2011 at 3:04