You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vempap <ph...@emc.com> on 2013/02/21 01:59:50 UTC

To get Term Offsets of a term per document

Hello,

  Is there a way to get Term Offsets of a given term per document without
enabling the termVectors ?

Is it that Lucene index stores the positions but not the offsets by default
- is it correct ?

Thanks,
Phani.



--
View this message in context: http://lucene.472066.n3.nabble.com/To-get-Term-Offsets-of-a-term-per-document-tp4041696.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: To get Term Offsets of a term per document

Posted by Chris Hostetter <ho...@fucit.org>.
:   Is there a way to get Term Offsets of a given term per document without
: enabling the termVectors ?
: 
: Is it that Lucene index stores the positions but not the offsets by default
: - is it correct ?

correct -- unless you specifically enable termVectors, the offset 
information isn't available in the index.

-Hoss