[
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: [email protected]
For additional commands, e-mail: [email protected]