My bad ! Taking time to get used to 4.X ways :)
Thanks Uwe for spotting the problem and for the useful pointers!
Arun
On Tue, Jun 4, 2013 at 2:05 PM, Uwe Schindler wrote:
> Hi.
>
> Your code is wrong: You must use the realdocid variable on vals.get ().
>
> Your code might be inefficient for r
Hi.
Your code is wrong: You must use the realdocid variable on vals.get ().
Your code might be inefficient for random lookup. You schould do a bibary
search to find the right leaf. ComposuteReader and ReaderUtil have utility
methods to do this.
Uwe
Arun Kumar K schrieb:
>Hi Guys,
>
>I am
Hi Guys,
I am trying to get hands on Lucene 4.2 Doc Values (RAM Based Which is by
default).
I have a 1GB index with 54 documents.
When retrieving the DocVals for matched docs i am able to retrieve vals
only upto some limit around 45000 docvals only.
for (AtomicReaderContext context : reader