It doesn't seem to matter whether fields are stored or not, but I've found a rather striking difference in the memory requirements during sorting. Sorting on a string field representing datetime like '2008-08-12T12:18:26.510' is about twice as memory intense as sorting first by '2008-08-12' and then by '121826'.
Any other tips/guidance like this would be great! Thanks, -Joe On Mon, 2009-04-06 at 15:43 -0500, Joe Pollard wrote: > To combat our frequent OutOfMemory Exceptions, I'm attempting to come up > with a model so that we can determine how much memory to give Solr based > on how much data we have (as we expand to more data types eligible to be > supported this becomes more important). > > Are there any published guidelines on how much memory a particular > document takes up in memory, based on the data types, etc? > > I have several stored fields, numerous other non-stored fields, a > largish copyTo field, and I am doing some sorting on indexed, non-stored > fields. > > Any pointers would be appreciated! > > Thanks, > -Joe >