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

Ryan McKinley commented on SOLR-3205:
-------------------------------------

I just committed SOLR-141.  The response should now include an 'error' section.
                
> Better error reporting from Analysis UI
> ---------------------------------------
>
>                 Key: SOLR-3205
>                 URL: https://issues.apache.org/jira/browse/SOLR-3205
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>            Reporter: Ryan McKinley
>             Fix For: 4.0
>
>
> The new analysis UI does not behave well with invalid input.  To reproduce, 
> from /#/singlecore/analysis
>  * Select a number field (int) 
>  * put in invalid text (hello)
>  * click Analyse Values
> The UI will have a red banner, but not say anything useful.  The log file 
> will say:
> {code}
> SEVERE: org.apache.solr.common.SolrException: Invalid Number: hello
>       at 
> org.apache.solr.analysis.TrieTokenizer.reset(TrieTokenizerFactory.java:113)
>       at 
> org.apache.solr.analysis.TrieTokenizer.<init>(TrieTokenizerFactory.java:76)
> {code}
> Hopefully we can get the UI to say "Invalid Number: hello"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to