[ 
https://issues.apache.org/jira/browse/SOLR-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn Heisey updated SOLR-4458:
-------------------------------

    Attachment: SOLR-4458.patch

Running some tests revealed a bug in the patch.  That has been fixed and some 
tests have been updated with asc & desc in different cases.  I'm running all 
tests now to see whether they pass.

Patch is against 4.x and has been tested against 4.x.  It applies cleanly to 
trunk.
                
> accespt uppercase ASC and DESC as sort orders
> ---------------------------------------------
>
>                 Key: SOLR-4458
>                 URL: https://issues.apache.org/jira/browse/SOLR-4458
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-4458.patch, SOLR-4458.patch, SOLR-4458.patch
>
>
> at least one user has gotten confused by doing a serach like this...
> http://localhost:8983/solr/shop/select/?indent=on&facet=true&sort=prijs%20ASC&start=0&rows=18&fl=id,prijs,prijseenhe
> id,artikelgroep&q=*:*&facet.field=artikelgroep&facet.mincount=1
> and getting this error...
> {noformat}
> Can't determine Sort Order: 'prijs ASC', pos=5
> {noformat}
> ... i can't think of any reason why it would be bad to accept both uppercase 
> and lowercase versions of "asc" and "desc"
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201302.mbox/%3c0a03b892a1f8e14c8d9e8dcb8320052804f30...@ex2010-mail1.wizard.pvt%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to