[
https://issues.apache.org/jira/browse/SOLR-11555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221274#comment-16221274
]
Erick Erickson edited comment on SOLR-11555 at 10/26/17 9:38 PM:
-----------------------------------------------------------------
Patch with test. This gives the same behavior (albeit a slightly different
explain) for filter(wdf:&) and fq=wdf:&. All it does is assign MatchNoDocsQuery
to the internal q when a null q comes in to the c'tor.
The attached test succeeds, I have not yet run it through precommit and the
full test suite, will do tonight and commit soon unless there are objections.
was (Author: erickerickson):
Patch with test. This gives the same behavior (albeit a slightly different
explain) for filter(wdf:&) and fq=wdf:&.
> If the query terms reduce to nothing, function(clause) produces an NPE
> whereas fq=clause does not
> -------------------------------------------------------------------------------------------------
>
> Key: SOLR-11555
> URL: https://issues.apache.org/jira/browse/SOLR-11555
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Priority: Minor
> Attachments: SOLR-11555.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]