lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <>
Subject Sorting consumes hundreds of MBytes RAM
Date Sun, 13 Apr 2008 14:45:37 GMT

I found that when sorting the search result -depending on the amount of data 
in the field to sort by - this can easily lead to FieldCacheImpl to allocate 
hundreds of MByte RAM.

How does this work internally? It seems as if all data for this field found in 
the entire index is read into memory (?).

And question #2: what am I going to do against it? Index  sharding?


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

View raw message