Consider further that term vector data and highlighting becomes very useful if 
you highlight externally to Solr.  That is to say, you have the data stored 
externally and wish to re-parse positions of terms (especially synonyms) from 
source material.  This is a (not too uncommon) technique used for extremely 
large articles, where data storage in the Lucene index might be repetitive.

On May 8, 2013, at 11:04 PM, "Jack Krupansky" <j...@basetechnology.com> wrote:

> Term positions in the index are used for phrase query and span queries.
> 
> There is a separate concept called "term vectors" that maintains positions as 
> well. It is most useful for highlighting - you want to know exactly where a 
> term started and ended.
> 
> -- Jack Krupansky
> 
> -----Original Message----- From: KnightRider
> Sent: Tuesday, May 07, 2013 12:58 PM
> To: solr-user@lucene.apache.org
> Subject: Use case for storing positions and offsets in index?
> 
> Can someone please tell me the usecase for storing term positions and offsets
> in the index?
> 
> I am trying to understand the difference between storing positions/offsets
> vs indexing positions/offsets.
> 
> Thanks
> KR
> 
> 
> 
> -----
> Thanks
> -K'Rider
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Use-case-for-storing-positions-and-offsets-in-index-tp4061376.html
> Sent from the Solr - User mailing list archive at Nabble.com. 

Reply via email to