lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject Re: Question about startOffset and endOffset
Date Mon, 12 May 2008 16:39:52 GMT
Erick Erickson skrev:
> Offhand, I expect this will affect up span queries, phrase
> queries, and who knows what else? Maybe scoring?

I belive that the offsets are just meta data stored with the term 
vectors, used by the highlighter et c. Phrase and span queries use term 
position in the stream (positionIncrement) for sloppy matching and scoring.

So if you don't store the term vectors with offsets for some reason you 
really don't have to bother about them.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message