lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Term Frequencies for Query Result
Date Tue, 12 Feb 2013 00:50:37 GMT

: I am looking for a way to get the top terms for a query result.

you have to elaborate on exactly what you mean ... how are you defining 
"top terms for a query result" ?  Are you talking about hte most common 
terms in the entire result set of documents that match your query?  or the 
terms from the query that most contributed to the query? or something 
else?

: Faceting does not work since counts are measured as documents containing 
: a term and not as the overall count of a term in all found documents:
	...
: Using http://wiki.apache.org/solr/TermVectorComponent an counting all 
: frequencies manually seems to be the only solution by now:

i *think* you are saying that you want the sum of term frequencies for all 
terms in all matching documents -- but i'm not sure, because i don't see 
how TermVectorComponent is helping you unless you are iterating over every 
doc in the result set (ie: deep paging) to get the TermVectors for every 
doc ... it would help if you could explain what you mean by "counting all 
frequencies manually"



-Hoss

Mime
View raw message