With the Solr search relevancy functions, a ParseException, unknown
function ttf in FunctionQuery.

http://localhost:8983/solr/select/?fl=score,documentPageId&defType=func&q=ttf(contents,amplifiers)

where contents is a field name, and amplifiers is text in the field name.

Just curious why I get a parse exception for the above syntax.




On Monday, January 23, 2012, Ahmet Arslan <iori...@yahoo.com> wrote:
>> 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.
>
> I don't fully follow but http://wiki.apache.org/solr/FunctionQuery#tf may
be what you want?
>

Reply via email to