You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/02/21 04:04:27 UTC

[jira] Commented: (SOLR-1784) Improve error-handling in facet requests

    [ https://issues.apache.org/jira/browse/SOLR-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836309#action_12836309 ] 

Yonik Seeley commented on SOLR-1784:
------------------------------------

Looks like this is working as designed, as demonstrated by the tests that this patch removes.

bq. Instead, no facets are returned.

I can't reproduce this.  Excluding an undefined tag has been defined to be the same as excluding nothing, hence the facet counts will be unchanged.  Can you provide an example where no facet results are returned?

> Improve error-handling in facet requests
> ----------------------------------------
>
>                 Key: SOLR-1784
>                 URL: https://issues.apache.org/jira/browse/SOLR-1784
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.2, 1.3, 1.4
>            Reporter: Lance Norskog
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: SOLR-1784.patch
>
>
> A reference to non-declared tag in a facet expression does not give any error. Instead, no facets are returned. Other errors in facet expressions are reported as a successful request with an element called 'exception' giving a stack trace.
> All requests to Solr should succeed completely or fail, and failures should return as an appropriate HTTP protocol error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.