Hello!
I need to access token position and payload info during the search result page
building. I need to do this for 10 documents max, so retrieving TermVectors is
totally OK for me.
Say, I retrieve it for one document:
Terms tv = _indexDirectoryReader.getTermVector(0, "wordform");
>From the
Okay, it makes complete sense. Thanks.
On Fri, Oct 4, 2013 at 5:15 AM, Michael Sokolov <
msoko...@safaribooksonline.com> wrote:
> On 10/3/13 6:04 PM, Alice Wong wrote:
>
> Mike,
>
> That's an interesting idea. The only drawback is we have to re-parse the
> doc and find where it matches and wh
Hi all!
A little bit more of exploration:)
After indexing with multiple atomic field values, here is what I get:
indexSearcher.doc(0).getFields("gramm")
stored,indexed,tokenized,termVector,omitNorms
stored,indexed,tokenized,termVector,omitNorms
stored,indexed,tokenized,termVector,omitNorms
stor
On 10/3/13 6:04 PM, Alice Wong wrote:
Mike,
That's an interesting idea. The only drawback is we have to re-parse
the doc and find where it matches and what the associated values are.
It could be a performance issue if the doc becomes bigger and more
complex.
It's true there is some overhead f