You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ingo Renner <in...@typo3.org> on 2009/06/22 10:20:07 UTC

Termscomponent and filter queries

Hi *,

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?


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2




Re: Termscomponent and filter queries

Posted by Chris Hostetter <ho...@fucit.org>.
: 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?



-Hoss