Re: Efficient title sorting on large result sets.

2011-11-25 Thread Andrew Ingram
On 21 Nov 2011, at 23:17, Chris Hostetter wrote: > > : The way that I've solved this in the past is to make a field > : specifically for sorting and then truncate the string to a small number > : of characters and sort on that. You have to accept that in some cases > > Something to consider is

RE: Efficient title sorting on large result sets.

2011-11-21 Thread Chris Hostetter
: The way that I've solved this in the past is to make a field : specifically for sorting and then truncate the string to a small number : of characters and sort on that. You have to accept that in some cases Something to consider is the ICUCollationKeyFilterFactory. As noted on the wiki...

RE: Efficient title sorting on large result sets.

2011-11-21 Thread Young, Cody
Hi Andrew, When you request a sort on a field, Lucene stores every unique value in a field cache, which stays in ram. If you have a large index and you're sorting on a Unicode string field, this can be very memory intensive. The way that I've solved this in the past is to make a field specifically