0 down vote favorite
share [fb] share [tw]

What is the proper query URL to limit the term frequency to just one term
in a document?

Below is an example query to search for the term frequency in a document,
but it is returning the frequency for all the terms.

[
http://localhost:8983/solr/select/?fl=documentPageId&q=documentPageId:49667.3&qt=tvrh&tv.tf=true&tv.fl=contents][1
]

I would like to be able to limit the query to just one term that I know
occurs in the document. The documentation for Term Frequency said to
specify the following:

   f.fieldName.tv.tf - Turns on Term Frequency for the fieldName specified.

This is in the wiki documentation:
http://wiki.apache.org/solr/TermVectorComponent

I tried various combinations of the above for the term amplifier in the URL
but I could not get it to work. I would appreciate the appropriate syntax
for a specific term amplifier.

Reply via email to