lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12979) CollapseQParser: inconsistent error handling when a field is indexed=false docValues=false
Date Tue, 25 Jun 2019 04:46:00 GMT

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

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

Commit 438364ab94d937a450ed8bd62bc09eedab915f6e in lucene-solr's branch refs/heads/branch_8x
from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=438364a ]

SOLR-12979: fail fast when collapse field is non-docValued & non-uninvertible

* Improve error message when collapse field is non-docValued & non-uninvertible.
  Return error code 400 instead of 500 in the above case


> CollapseQParser: inconsistent error handling when a field is indexed=false docValues=false
> ------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12979
>                 URL: https://issues.apache.org/jira/browse/SOLR-12979
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Munendra S N
>            Priority: Major
>         Attachments: SOLR-12979.patch, SOLR-12979.patch, SOLR-12979.patch, SOLR-12979.patch
>
>
> The CollapseQParser behaves oddly and gives inconsistent error messages if you try to
use it on a field that is {{indexed="false docValues="false"}} -- particularly when {{hint=top_fc}}
is also used and a NullPointerException gets thrown.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message