lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Blokland <>
Subject Re: ranged and boolean query
Date Thu, 18 Nov 2010 12:47:46 GMT

On Wed, Nov 17, 2010 at 05:00:04PM +0100, Peter Blokland wrote:
>>> pubdate:([* TO NOW] OR (NOT *))

i've gone back to the examples provided with solr 1.4.1. the
standard example has 19 documents, one of which has a date-field
called 'incubationdate_dt'. so the query 

incubationdate_dt:[* TO NOW]

is expected to return 1 document, which it does. the query


is expected to return 18 documents, which it does. however,

incubationdate_dt:[* TO NOW] (-incubationdate_dt:*)

which should (imho) return all 19 documents just returns the
one document that has such a field.

can anyone confirm whether or not this is expected behavior, and
if so, why ?

CUL8R, Peter. --- Sent from my NetBSD-powered Talkie Toasterâ„¢

View raw message