lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanguy Moal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3783) Facet pivots produces NPE when facet.missing is turned on
Date Tue, 04 Sep 2012 09:27:08 GMT
Tanguy Moal created SOLR-3783:
---------------------------------

             Summary: Facet pivots produces NPE when facet.missing is turned on
                 Key: SOLR-3783
                 URL: https://issues.apache.org/jira/browse/SOLR-3783
             Project: Solr
          Issue Type: Bug
          Components: SearchComponents - other
            Reporter: Tanguy Moal
            Priority: Minor


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 -field:[*
TO *] 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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message