lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Munendra S N (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12979) CollapseQParser: inconsistent error handling when a field is indexed=false docValues=false
Date Sun, 02 Jun 2019 05:51:00 GMT

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

Munendra S N commented on SOLR-12979:
-------------------------------------

 [^SOLR-12979.patch] 
* If uninvertible=false and docValues=false for collapsing field, then request returns Bad
Request(there won't be case indexed=false and uninvertible=true, as schema upload fails)
* As this check is moved to init phase(fail fast) even when there are no docs for the the
field, bad request is returned.

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Priority: Major
>         Attachments: 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"}} -- paerticularly 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