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

Yonik Seeley commented on SOLR-1478:
------------------------------------

A few things I don't like about '#'
 -  unlike many other characters, the browser can't encode it for you. For 
example, I can type in "sort=foo desc" into my browser and it can encode the 
space for me.  If I type in a literal #, Solr will silently truncate the 
request at that point.  People will have trouble with this one.
 - it can require lexical modification to other parsers (as opposed to semantic 
modification).  Things like function queries or anything else that parse out 
field names or parameters would need to be modified at the lexical level to 
accept # - it's generally easier to just check for a special name.
 - it looks like a comment
 

> Enable sort by docid
> --------------------
>
>                 Key: SOLR-1478
>                 URL: https://issues.apache.org/jira/browse/SOLR-1478
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Erik Hatcher
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1478.patch
>
>
> Lucene allows sorting by docid, but Solr currently does not provide a way to 
> specify it. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to