can i get the amount of time a word appears in a doc?

6 views
Skip to first unread message

jason

unread,
Dec 8, 2010, 1:56:28 AM12/8/10
to rsolr
If I search for the word "foo" in a doc, how can I get the score back
as the amount of times the word appears in the doc? I didn't see this
in the docs, is this possible with rsolr/solr?

Wayne Graham

unread,
Dec 8, 2010, 9:48:27 AM12/8/10
to rsolr
Jason,

I believe you want the TermVectorComponent (http://wiki.apache.org/
solr/TermVectorComponent) which will return the term frequency (among
other things) for documents.

HTH,
Wayne
Reply all
Reply to author
Forward
0 new messages