Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3205

Better error reporting from Analysis UI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • Admin UI
    • None

    Description

      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:

      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)
      

      Hopefully we can get the UI to say "Invalid Number: hello"

      Attachments

        Issue Links

          Activity

            People

              steffkes Stefan Matheis
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: