lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PeterKerk <vettepa...@hotmail.com>
Subject Facet showing MORE results than expected when its selected?
Date Wed, 10 Nov 2010 21:34:00 GMT

A facet shows the amount of results that match with that facet, e.g. "New
York (433)" So when the facet is clicked, you'd expect that amount of
results (433).

However, I have a facet "Hotel en Restaurant (321)", that, when clicked
shows 370 results! :s


1st query:
http://localhost:8983/solr/db/select/?indent=on&facet=true&q=*:*&start=0&rows=25&fl=id,title,themes&facet.field=themes_raw&facet.mincount=1


This is (part) of the resultset of my first query
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="themes_raw">
	<int name="Hotel en Restaurant">321</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>



Now when I click the facet "Hotel en Restaurant", 
it fires my second query:
http://localhost:8983/solr/db/select/?indent=on&facet=true&fq=themes:Hotel
en
Restaurant&q=*:*&start=0&rows=25&fl=id,title,themes&facet.field=themes_raw&facet.mincount=1

I would expect 321, however I get 370!


schema.xml
<field name="themes" type="text" indexed="true" stored="true"
multiValued="true"  />
<field name="themes_raw" type="string" indexed="true" stored="true"
multiValued="true"/>
<copyField source="themes" dest="themes_raw"/>
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Facet-showing-MORE-results-than-expected-when-its-selected-tp1878828p1878828.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message