lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: I found a sorting bug in solr/lucene
Date Sat, 30 Jul 2011 05:41:22 GMT

: According to that bug list, there are other characters that break the
: sorting function.  Is there a list of safe characters I can use as a
: delimiter?

the safest field names to use (and most efficient to parse when sorting) 
are things that follow the the "id" semenatics in java (not including the 
"$" character at the begining) ...

So sorts like "foo_bar_baz asc" will definitely work, and are heavily 

I've just posted a patch to SOLR-2606 that should fix the "foo:bar asc" 
and "foo-bar asc" situations, but because of the function query sort 
parsing that happens first, they will always be slightly slower to parse.


View raw message