lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS vs storing positions and offsets/
Date Wed, 08 May 2013 13:04:54 GMT
On Wed, May 8, 2013 at 9:03 AM, AarKay <ksu.wildcats@gmail.com> wrote:
> Thanks Mike. This is little bit clear to me now.
>
> Just to make sure I got it right, do you mean that we need to store just
> the offsets and set IndexOptions to DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS
> to be able to use PostingsHighlighter?
> Also we don't need to store TermVectors and Positions. Correct?

That's correct.

> I believe usecase for storing TermVectors and Positions is to use other
> highlighter (FastVectorHighlighter)

Yes.  The original highlighter will also use TermVectors if they were indexed.

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message