You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/08/05 22:23:15 UTC

[jira] Created: (SOLR-1340) DocumentAnalysisRequestHandler can't tolerate analysis exceptions

DocumentAnalysisRequestHandler can't tolerate analysis exceptions
-----------------------------------------------------------------

                 Key: SOLR-1340
                 URL: https://issues.apache.org/jira/browse/SOLR-1340
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Yonik Seeley
             Fix For: 1.4


DocumentAnalysisRequestHandler throws exceptions in testHandleAnalysisRequest() if analysis throws an exception

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-1340) DocumentAnalysisRequestHandler can't tolerate analysis exceptions

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-1340.
--------------------------------

    Resolution: Fixed

committed fix... I can't tell if it's right or not, but I leave out entries that produce exceptions.
I also just commented out the tests around the "id" field - they didn't look valid.

> DocumentAnalysisRequestHandler can't tolerate analysis exceptions
> -----------------------------------------------------------------
>
>                 Key: SOLR-1340
>                 URL: https://issues.apache.org/jira/browse/SOLR-1340
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Yonik Seeley
>             Fix For: 1.4
>
>
> DocumentAnalysisRequestHandler throws exceptions in testHandleAnalysisRequest() if analysis throws an exception

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1340) DocumentAnalysisRequestHandler can't tolerate analysis exceptions

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739722#action_12739722 ] 

Yonik Seeley commented on SOLR-1340:
------------------------------------

I think this is a bug, but the documentation at http://wiki.apache.org/solr/AnalysisRequestHandler doesn't shed any light on what the request/test is actually supposed to do...

java.lang.NumberFormatException: For input string: "JUMPING"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:447)
	at java.lang.Integer.parseInt(Integer.java:497)
	at org.apache.solr.analysis.TrieTokenizerFactory.create(TrieTokenizerFactory.java:59)
	at org.apache.solr.analysis.TokenizerChain.tokenStream(TokenizerChain.java:65)
	at org.apache.solr.handler.AnalysisRequestHandlerBase.analyzeValue(AnalysisRequestHandlerBase.java:107)
	at org.apache.solr.handler.DocumentAnalysisRequestHandler.handleAnalysisRequest(DocumentAnalysisRequestHandler.java:221)
	at org.apache.solr.handler.DocumentAnalysisRequestHandlerTest.testHandleAnalysisRequest(DocumentAnalysisRequestHandlerTest.java:123)


> DocumentAnalysisRequestHandler can't tolerate analysis exceptions
> -----------------------------------------------------------------
>
>                 Key: SOLR-1340
>                 URL: https://issues.apache.org/jira/browse/SOLR-1340
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Yonik Seeley
>             Fix For: 1.4
>
>
> DocumentAnalysisRequestHandler throws exceptions in testHandleAnalysisRequest() if analysis throws an exception

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.