Thanks Mike, this clarifies my understanding as well.
Regds,
Rizwan
On Wed, Aug 14, 2013 at 7:56 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> I think you just need to add fieldType.setStoreTermVectors(true) as well.
>
> However, I see you are also indexing offsets into the postin
I think you just need to add fieldType.setStoreTermVectors(true) as well.
However, I see you are also indexing offsets into the postings, which
is wasteful because now you've indexed offsets twice in your index.
Usually only one place is needed, i.e. if you will use
PostingsHighlighter, only inde
Ankit, Term Vector is the informational guide to get the details about your
indexed information. TermOffset : is providing you the details about where
the term occurs in the given data value. e.g. "lucene is smart" Here terms
are : lucene, is, smart, TermVectorOffset would be position of the terms