Re: Problems with creating a query that matches all the documents I want to display

2011-03-25 Thread Jan-Eirik B . Nævdal
ve you "everything without an opening time or an > opening time before NOW" in an fq. > > Jonathan > > From: Jan-Eirik B. Nævdal [jan-eirik.naev...@iterate.no] > Sent: Monday, March 21, 2011 6:55 PM > To: Jonathan Rochkind > Cc

RE: Problems with creating a query that matches all the documents I want to display

2011-03-21 Thread Jonathan Rochkind
r@lucene.apache.org Subject: Re: Problems with creating a query that matches all the documents I want to display Unfortunalty have I tried the OR approach in the fq. with the positive filter query first i get document 4, with negative filter query first i get none result, This request giv

Re: Problems with creating a query that matches all the documents I want to display

2011-03-21 Thread Ahmet Arslan
t; Subject: Re: Problems with creating a query that matches all the documents I > want to display > To: "Jonathan Rochkind" > Cc: "solr-user@lucene.apache.org" > Date: Tuesday, March 22, 2011, 12:55 AM > Unfortunalty have I tried the OR > approach in the fq. > with

Re: Problems with creating a query that matches all the documents I want to display

2011-03-21 Thread Markus Jelsma
Hi, In a _high load_ environment with queryResultCache and filterCache enabled, you need to be very careful about using NOW in its highest precision. It adds - and likely evicts - a non retrievable entry in both caches, wasting a lot of resources. It's best to always reduce precision when you

Re: Problems with creating a query that matches all the documents I want to display

2011-03-21 Thread Jan-Eirik B . Nævdal
Unfortunalty have I tried the OR approach in the fq. with the positive filter query first i get document 4, with negative filter query first i get none result, This request gives me 1 reply http://localhost:8983/solr/select/?q=*%3A*&version=2.2&start=0&rows=100&indent=on]&fq=obj_todate_dt%3A[*%20TO

Re: Problems with creating a query that matches all the documents I want to display

2011-03-21 Thread Jonathan Rochkind
You can put an actual OR in the fq (an fq, by default, is in the solr-lucene query parser language). Might that achieve what you want? &fq= -openingtime:[* TO *] OR openingtime:[* TO NOW] &fq= -closingtime:[* TO *] OR closingtime:[NOW TO *] Does that, or some variation of it, do what you need