This *extremely* helpful page:
http://wiki.apache.org/solr/FieldOptionsByUseCase?highlight=(termvector)|(retrieve)|(contents)

Says:
2. stored must always be true for highlighting. If you also add both *
termVector*s and termOffsets, this can be used to boost performance.
(Without *termVector*s/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 *termVector*s, termOffsets and termPositions.

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

Erick

Reply via email to