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

ASF subversion and git services commented on LUCENE-6064:
---------------------------------------------------------

Commit 1640469 from [~rcmuir] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1640469 ]

LUCENE-6064: throw exception instead of doing nothing, when sorting/grouping 
etc on misconfigured field

> throw exception during sort for misconfigured field
> ---------------------------------------------------
>
>                 Key: LUCENE-6064
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6064
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 5.0, Trunk
>
>         Attachments: LUCENE-6064.patch
>
>
> If you sort on field X, and it has no docvalues, today it will silently treat 
> it as "all values missing". This can be very confusing since it just means 
> nothing will happen at all.
> But there is a distinction between "no docs happen to have a value for this 
> field" and "field isn't configured correctly". The latter should get an 
> exception, telling the user to index docvalues, or wrap the reader with 
> UninvertingReader.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to