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

ASF subversion and git services commented on SOLR-5222:
-------------------------------------------------------

Commit 1521307 from hoss...@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1521307 ]

SOLR-5222: test proving that dynamicField's using docValues work as expected 
with missing values (merge r1521304)
                
> Sorting on dynamic fields using DocValues sorts empty values always first
> -------------------------------------------------------------------------
>
>                 Key: SOLR-5222
>                 URL: https://issues.apache.org/jira/browse/SOLR-5222
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Pascal Chollet
>            Assignee: Hoss Man
>            Priority: Minor
>
> When using DocValues for sort fields, "sortMissingLast=true" seems not to 
> work - which makes sense as DocValues require a value for every document. The 
> workaround is to use a default value which is alphanumericly sorted last. But 
> when specifying the sort field as a dynamic field, the default value is not 
> applied when a document does not contain that field.
> To make it work, I had to define every single sort field explicitly.

--
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to