lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to access DocValues inside a customized collector?
Date Fri, 21 Sep 2018 02:38:37 GMT
What Luke are you using? I think 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, 2018 at 6:23 PM Lisheng Zhang <lz0522y2k@gmail.com> wrote:
>
> 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 API (since we already
> in that docId it seems to me that the binary DocValues should be readily
> available?
>
> Also do we have a way to see directly indexed data (Luke seems obsolete,
> Marple does not work with lucene 7.4.0 yet)?
>
> Thanks very much for helps, Lisheng

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message