Re: Unexpected search results with date range queries and OR

2013-07-24 Thread Jack Krupansky
Solr supports pure negative queries, but only at the top level. Pure negative sub-queries are not supported. To work around this limitation your need to add "*:*" to the sub-query: (offTime:[2013-07-24T14:35:46.319Z TO *]) OR (*:* NOT offTime:[* TO *]) -- Jack Krupansky -Original Message

Re: Unexpected search results

2009-04-02 Thread Erick Erickson
Sure, given that the default operator is OR you'd expect it to widen as you add more terms. On Thu, Apr 2, 2009 at 3:57 PM, muness wrote: > > Laurent, > > My bad, I should have used the exact query results I was getting, rather > than a made up example. Here are those results: > > $ curl ht

RE: Unexpected search results

2009-04-02 Thread muness
Laurent, My bad, I should have used the exact query results I was getting, rather than a made up example. Here are those results: $ curl http://localhost:8982/solr/select/?q=otto --silent | xmlstarlet fo | grep numFound $ curl http://localhost:8982/solr/select/?q=otto%20added --silent | xmls

RE: Unexpected search results

2009-04-02 Thread Vauthrin, Laurent
Are the queries only returning 10 results? (in the result element -> ) By default, I believe Solr will only return the first ten results it finds which may explain the results. -Original Message- From: solr-user-return-20409-laurent.vauthrin=disney@lucene.apache.org [mailto:solr-user-