lucene-solr-user mailing list archives

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

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

-incubationdate_dt:* 

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.

www.desk.nl --- Sent from my NetBSD-powered Talkie Toasterâ„¢

Mime
View raw message