Having a couple of docs that aren't being
returned that you think should be would
help.
It's tangential, but you might get better
performance out of this when you get over
your initial problem by using something like
fq=StartDate:[NOW/DAY TO NOW/DAY+1DAY]
That'll filter on all docs with startDate
Solr has extensive filtering tests.
The first step would be to double check that you see what you think
you are seeing, and then try and create an example to reproduce it.
For example, this works fine with the "example" data, and is of the
same form as your query:
http://localhost:8983/solr/query
What are some example values of the HotelID and StateDate fields that are
not getting filtered out?
Multiple fq queries will be ANDed.
-- Jack Krupansky
-Original Message-
From: Vijay Kokatnur
Sent: Monday, March 10, 2014 4:51 PM
To: solr-user
Subject: Multiple "fq" para
<..Spawning this as a separate thread..>
So I have a filter query with multiple "fq" parameters. However, I have
noticed that only the first "fq" is used for filtering. For instance, a
lookup with
...&fq=ClientID:2
&fq=HotelID:234-PPP
&fq={!cache=false}StartDate:[NOW/DAY TO *]
In the above que