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

Lance Norskog commented on SOLR-1784:
-------------------------------------

This issue was inspired by this: 

http://www.lucidimagination.com/search/document/5378219fa4aec459/labeling_facets_and_highlighting_question

bq. Excluding an undefined tag has been defined to be the same as excluding 
nothing, hence the facet counts will be unchanged.

This definition is not documented on the wiki (or anywhere I can find). Is 
there a use case where this is the right thing to do? Is there a use case in 
which the user knowingly refers to a tag without defining it?

Otherwise, this is always a user error that receives no error feedback.

> 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.

Reply via email to