: For sorting DocValues are the best option I think.

yep, definitely a good idea.

: > I have a usecase for using cursorpage and when tried to check this, I got
: > outOfMemory just for sorting by id.

what does the field/fieldType for your uniqueKey field look like?

If you aren't using DocValues, then the amount of RAM needed is going to 
vary widely depending on the datatype used by the FieldCache.

-Hoss
http://www.lucidworks.com/

Reply via email to