Otis Gospodnetic wrote:

FieldCache class is used for sorting. Are you sorting by a few different fields by any chance?

Yes, we're sorting for one or two fields, depending on user settings.


Uwe Schindler wrote:

This class is used, when you sort your result against a field, which
contains string values (no numerics). ...
Or sort against a better data type like ints or
other numerics (if you can encode you sort order as a number).

Excellent, that's spot on. The field is a date in "yyyyMMddHHmmss" format, so I guess using SortField.LONG instead of SortField.STRING might work.

I'll give that a try. Thanks!

Ulf


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to