You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Allen <an...@gmail.com> on 2011/07/16 04:18:00 UTC
how to get one word frequency from a document
Hi All,
I am trying to use TermVectorComponent to get the word frequency from
a particular document. Here is the url I used:
"q=someword+id%3A"somedoc"&qt=tvrh&tv.all=true". But the result
includes all the words' frequency in that document. Are there any
query filters or request parameters that I can use to get one
particular word's frequency from a particular document?
Thanks a lot.
--
Allen
Re: how to get one word frequency from a document
Posted by Ahmet Arslan <io...@yahoo.com>.
> This function seems to work with solr
> 4.0. How can I get solr 4.0?
http://wiki.apache.org/solr/NightlyBuilds
Re: how to get one word frequency from a document
Posted by Allen <an...@gmail.com>.
This function seems to work with solr 4.0. How can I get solr 4.0?
2011/7/16 Ahmet Arslan <io...@yahoo.com>:
>> I am trying to use TermVectorComponent to get the word
>> frequency from
>> a particular document. Here is the url I used:
>> "q=someword+id%3A"somedoc"&qt=tvrh&tv.all=true".
>> But the result
>> includes all the words' frequency in that document. Are
>> there any
>> query filters or request parameters that I can use to get
>> one
>> particular word's frequency from a particular document?
>
> May be this http://wiki.apache.org/solr/FunctionQuery#tf ?
>
--
Allen
Re: how to get one word frequency from a document
Posted by Ahmet Arslan <io...@yahoo.com>.
> I am trying to use TermVectorComponent to get the word
> frequency from
> a particular document. Here is the url I used:
> "q=someword+id%3A"somedoc"&qt=tvrh&tv.all=true".
> But the result
> includes all the words' frequency in that document. Are
> there any
> query filters or request parameters that I can use to get
> one
> particular word's frequency from a particular document?
May be this http://wiki.apache.org/solr/FunctionQuery#tf ?