[
https://issues.apache.org/jira/browse/SOLR-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-2325:
-------------------------------
Attachment: SOLR-2325.patch
Here's a patch that fixes things up.
Reviewing the documentation, it looks like this wasn't actually a bug - in the
past, only filters could be excluded. Still, it makes sense to be able to
exclude the main query too, and this is what this patch implements.
> faceting throws NPE if all q's and fq's excluded
> ------------------------------------------------
>
> Key: SOLR-2325
> URL: https://issues.apache.org/jira/browse/SOLR-2325
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Yonik Seeley
> Attachments: SOLR-2325.patch
>
>
> Example of a faceting request that produces a NPE
> http://localhost:8983/solr/select?q={!tag=zzz}foo&facet=true&facet.field={!ex=zzz}popularity
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]