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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to