hi, I have the following situation: - A dropdownlist to search trips by Country - A dropdownlist to search trips by departureperiod (range/month)
I want to have facetresults on these fields. When i select a value in 1 of the dropdownlists, i receive the correct numbers (facets) If Country = "Belgium", then i receive the original number of trips per country and the number of trips per departuredate for Belgium. But, when i combine this search with a country and a departureperiod, then i expect to receive: - the number of trips per country in the selected departureperiod (for first dropdownlist) AND - the number of trips in the selected country (for second dropdownlist) But for some reason, i can't get the correct values when i combine these 2 filters. I receive the correct number of trips/period, but the countries aren't filtered by this period anymore. Can somebody explain me what i'm doing wrong? This is the query for the combined search: http://localhost:8080/solr/select/?facet=true&facet.date={!ex=SD}StartDate&f.StartDate.facet.date.start=2011-10-1T00:00:00Z&f.StartDate.facet.date.end=2012-09-30T00:00:00Z&facet.field={!ex=CC}CountryCode&f.StartDate.facet.date.gap=%2B1MONTH&rows=0&version=2.2&q={!tag=CC}CountryCode:ID&q={!tag=SD}StartDate:[2011-11-01T00:00:00Z TO 2011-11-30T00:00:00Z] -- View this message in context: http://lucene.472066.n3.nabble.com/Faceting-on-multiple-fields-with-multiple-where-clauses-tp3457432p3457432.html Sent from the Solr - User mailing list archive at Nabble.com.