Re: Limiting term frequency in a document to a specific term

2012-01-24 Thread Erick Erickson
At a guess, you're using 3.x and the relevance functions are only on trunk (4.0). Best Erick On Tue, Jan 24, 2012 at 7:49 AM, solr user wrote: > With the Solr search relevancy functions, a ParseException, unknown > function ttf in FunctionQuery. > > http://localhost:8983/solr/select/?fl=score,do

Re: Limiting term frequency in a document to a specific term

2012-01-24 Thread solr user
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

Re: Limiting term frequency in a document to a specific term

2012-01-23 Thread Ahmet Arslan
> 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