lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Sorting field contating NULL values consumes field cache memory
Date Tue, 21 Jul 2009 17:17:10 GMT

: Right now, you can't really do anything about it. In the future, with the
: new FieldCache API that may go in, you could plug in a custom implementation
: that makes tradeoffs for a sparse array of some kind. The docid is currently
: the index into the array, but with a custom impl you may be able to use a
: sparse array object.
: Thats a ways off though.

I have no idea if this patch still applies...

...but this thread jogged my memory of it.  the lsat time i looked at it 
it still needed some documentation improvements, but it seemed to have 
some potential value for people who have too much data and too little RAM 
to build up a FieldCache for sorting, and were willing to take the 
time/space tradeoff for sorting using stored fields.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message