[ 
https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084991#comment-13084991
 ] 

Bernd Fehling commented on SOLR-2713:
-------------------------------------

I have attached a test. 
Use the solr example:
- change fieldType "alphaOnlySort" to 
pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]])" in schema.xml
- start solr example with "java -jar start.jar"
- place attached file in exampledocs directory
- load docs with "./post.sh sort_example.xml"

Search for:
http://localhost:8983/solr/select?q=*%3A*&fsv=true&sort=alphaNameSort+desc&version=2.2&start=0&rows=10&indent=on

The result is not ordered in descending order.


> sorting issue with solr 3.3
> ---------------------------
>
>                 Key: SOLR-2713
>                 URL: https://issues.apache.org/jira/browse/SOLR-2713
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Bernd Fehling
>         Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3. 
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed 
> from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns 
> wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to