lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-3205) Better error reporting from Analysis UI
Date Tue, 06 Mar 2012 01:43:58 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message