lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xi Shen <davidshe...@gmail.com>
Subject Re: get term frequency document
Date Tue, 11 Dec 2012 03:21:52 GMT
Hi,

Have you check out https://wiki.apache.org/solr/TermVectorComponent, this
request handler can return all term related vectors

Options

   - tv.tf - Return document term frequency info per term in the document.
   - tv.df - Return the Document Frequency (DF) of the term in the
   collection. This can be expensive.
   - tv.positions - Return position information.
   - tv.offsets - Return offset information for each term in the document.
   - tv.tf_idf - Calculates tf*idf for each term. Requires the parameters
   tv.tf and tv.df to be "true". This can be expensive. (not shown in
   example output)
   - tv.all - If true, turn on extra information (tv.tf, tv.df, etc)
   -

   tv.fl - (Solr3.1 <https://wiki.apache.org/solr/Solr3.1>) Provides the
   list of fields to get term vectors for (defaults to fl)
   - tv.docIds - List of Lucene document ids (not the Solr Unique Key) to
   get term vectors for.



On Mon, Dec 10, 2012 at 11:24 PM, Iraida <tokmolaeva@yandex.ru> wrote:

> (((( help me, please...
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/get-term-frequency-document-tp4025543p4025696.html
> Sent from the Lucene - General mailing list archive at Nabble.com.
>



-- 
Regards´╝î
David Shen

http://about.me/davidshen
https://twitter.com/#!/davidshen84

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message