Re: How to access DocValues inside a customized collector?

2018-09-21 Thread Lisheng Zhang
rmance, as everything > is per leaf reader and in order. > > Uwe > > - > Uwe Schindler > Achterdiek 19, D-28357 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Lisheng Zhang > > Sent: Friday, S

Re: How to access DocValues inside a customized collector?

2018-09-20 Thread Lisheng Zhang
hink this one is being maintained: > https://github.com/DmitryKey/luke > > The Terms component directly access the indexed data and can be used > to poke around in the indexed data. > > I'll skip the accessing DocValues as I have to go back and look every time. > On Thu, Sep 20, 20

How to access DocValues inside a customized collector?

2018-09-20 Thread Lisheng Zhang
we need to use binary DocValues (in a customized collector) added during indexing, i first tested in standard TopScoreDocCollector, it seems that we need to: LeafReaderContext => reader() => get binary iterator => advanced to correct location Is this the correct way or actually we have a better

payload at the document level

2017-10-05 Thread Lisheng Zhang
Hi, I understand payload should be associated with an indexed term, but i remembered long time ago it was suggested that we should have payload at the document level (for whole document), such that we can get payload by docID only. Do we have this feature implemented in lucene 7 (i searched doc &

Still using lucene 2.3, is compatible with java 8?

2017-09-16 Thread Lisheng Zhang
Hi, in one of our product we are still using lucene 2.3, is lucene 2.3 compatible with java 1.8? Thanks very much for helps, Lisheng