It must be "field". So if you enable term verctors you can use
fast-vector-highighter, else the field must be stored to be highlighted and
the stored field must be reanalyzed.

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: [email protected]

 

From: Erick Erickson [mailto:[email protected]] 
Sent: Monday, November 22, 2010 3:43 PM
To: [email protected]
Subject: Is this misleading?

 

This *extremely* helpful page:

http://wiki.apache.org/solr/FieldOptionsByUseCase?highlight=(termvector)|(re
trieve)|(contents)

 

Says:

2. stored must always be true for highlighting. If you also add both
termVectors and termOffsets, this can be used to boost performance. (Without
termVectors/termOffsets, Solr needs to reanalyze the whole document to
perform highlighting.) If you furthermore add termPositions, additional
speedup may be possible. Note, that you must index the field in order to be
able to use termVectors, termOffsets and termPositions.

 

Is "document" correct here or should it be "field"? If the latter I'll
change it.

 

Erick

Reply via email to