lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanguy Moal (JIRA)" <>
Subject [jira] [Commented] (SOLR-3783) Facet pivots produces NPE when facet.missing is turned on
Date Thu, 20 Sep 2012 08:13:07 GMT


Tanguy Moal commented on SOLR-3783:

Thank you very much!

I just patched my copy of Solr 4.0 Beta with it and redeployed my snapshot. Works like a charm.
> Facet pivots produces NPE when facet.missing is turned on
> ---------------------------------------------------------
>                 Key: SOLR-3783
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>            Reporter: Tanguy Moal
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.0, 5.0
>         Attachments: SOLR-3783.patch
> We get an http 500 as follow :
> {code:xml}
> <lst name="error">
>   <str name="trace">java.lang.NullPointerException</str>
>   <int name="code">500</int>
> </lst>
> {code}
> When facet.missing is turned on and combined with facet.pivot (if one of the pivot-faceted
fields have missing counts ^-^)
> Ideally, the decission tree could be computing for the missing "entries" using the {noformat}
-field:[* TO *] {noformat} query but it might be a performance issue on a large index (I guess)
> The fallback to this could be to raise a 400 error with a clean message telling that
both parameters can't be combined and then the documentation should be modified accordingly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message