lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Termscomponent and filter queries
Date Tue, 30 Jun 2009 23:52:43 GMT

: currently the terms component does not support filter queries. However,
: without them the returned count for the terms might differ to the actual
: results the user gets when conducting a search with a suggested word and
: (automatically) applied filter queries.
: So, are there any plans to add filter query support to the terms component?

i doubt it.  largely because they are fairly orthoginl concepts.

Filter queries result in document sets, but he terms component iterates 
over the raw terms in the index and reports on their stats (including 
the docFreq value for that term) ... it does *nothing* with documents.

if you wanted to modify the termscomponent to pay attention to a docset 
from a filter query, and ignore the docFreq in the index itself, then what 
you'd wind up writting is the FacetComponent.

So why not just use hte FacetComponent?

Is there something you want that TermsComponent does but FacetComponent 
doesn't do?


View raw message