lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Updated] (SOLR-4458) accespt uppercase ASC and DESC as sort orders
Date Sat, 23 Feb 2013 00:42:13 GMT


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:
>             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"

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message