You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/11/05 10:11:12 UTC

[Solr Wiki] Trivial Update of "TermVectorComponent" by ChantalAckermann

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "TermVectorComponent" page has been changed by ChantalAckermann.
The comment on this change is: Fixed code markup (added newlines)..
http://wiki.apache.org/solr/TermVectorComponent?action=diff&rev1=11&rev2=12

--------------------------------------------------

  <!> Solr 1.4 <!>
  
  The Term Vector Component (TVC) is a !SearchComponent designed to return information about documents that is stored when setting the termVector attribute on a field:
+ {{{
- {{{<field name="features" type="text" indexed="true" stored="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>}}}
+ <field name="features" type="text" indexed="true" stored="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
+ }}}
  
  For each document, the TVC can return, the term vector, the term frequency, inverse document frequency, position and offset information.  As with most components, there are a number of options that are outlined in the samples below.