On Jun 30, 2008, at 7:00 PM, Erik Hatcher wrote:

On Jun 30, 2008, at 8:55 PM, Paul J. Lucas wrote:
If I have a SortField with a type of STRING, is there any way to sort in a case-insensitive manner?

Only if you unify the case (lower case everything) on the client side that you send to Solr, but in general no.

You can use a text field type that uses a KeywordTokenizer(Factory) and lowercase on the Solr-side though. The Solr example schema has one such "alphaOnlySort" field type.

Couldn't I also use a custom SortComparator?

- Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to