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