Hi there

If i have two documents with a field indexing a taxonomy path for example
doc1: bags/handbags/clutch
doc2: bags/handbags/beach

and that field tokenizes on the forward slash, the facets produced will be :
bags(2), handbags(2),beach(1),clutch(1)

if i select clutch, the facets returned by solr will be handbags (1) and
bags(1). I would like to have no facets returned. 

Therefore I want facets only to be returned if the facet frequency is
smaller than the total results found. this will return a more helpful
selection of facets for the user to then refine their search. In this
example the user would not want to select 'bags' when they have selected
handbags as it will not help the user in their search.

We can remove these facets within the view but was asking if there is a more
elegant way to do this in SOLR.



Otis Gospodnetic wrote:
> 
> Hi,
> 
> Either I don't understand this or this doesn't make much sense.
> Are you saying you want to show only facet values whose counts == # of
> hits?
> If so, what would be the value of showing facets -- they wouldn't be
> narrowing down the result set.
> 
>  Otis
> --
> Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch
> 
> 
> 
> ----- Original Message ----
>> From: joeMcElroy <pho...@gmail.com>
>> To: solr-user@lucene.apache.org
>> Sent: Tue, January 5, 2010 5:25:18 AM
>> Subject: Removing facets which frequency match the result count
>> 
>> 
>> Is there any way to specify to solr only to bring back facet filter
>> options
>> where the frequency is less than the total results found? I found facets
>> which match the result count are not helpful to the user, and produce
>> noise
>> within the UI to filter results.
>> 
>> I can obviously do this within the view but would be better if solr dealt
>> with this logic.
>> 
>> Cheers!
>> Joe
>> -- 
>> View this message in context: 
>> http://old.nabble.com/Removing-facets-which-frequency-match-the-result-count-tp27026359p27026359.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Removing-facets-which-frequency-match-the-result-count-tp27026359p27068209.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to