lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Getting term ords during collect
Date Wed, 12 Feb 2014 00:59:03 GMT
SortedSetDV is probably the best way to do so.  You could also encode
the ords yourself into a byte[] and use binary DV.

But why are you seeing it take too long to load?  You can switch to
different DV formats to tradeoff RAM usage and lookup speed..

Mike McCandless

http://blog.mikemccandless.com


On Tue, Feb 11, 2014 at 6:57 PM, Kyle Judson <kvjudson@hotmail.com> wrote:
> Hi All,
>
> What are the ways I can get the ords for the terms of a particular field in the collect
method of a Collector?
>
> I'm currently using a SortedSetDocValues that I obtained before the query but it's taking
longer to load than I would like.
>
> Thanks
> Kyle
>
>

---------------------------------------------------------------------
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