[jira] [Commented] (SOLR-2767) ClassCastException when using FieldAnalysisResponse and the analyzer list contains the CharMappingFilter (or any CharFilter)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-2767) ClassCastException when using FieldAnalysisResponse and the analyzer list contains the CharMappingFilter (or any CharFilter)

JIRA jira@apache.org

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

Eckhard jost commented on SOLR-2767:
------------------------------------

I think, it is already solved there.

> ClassCastException when using FieldAnalysisResponse and the analyzer list contains the CharMappingFilter (or any CharFilter)
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2767
>                 URL: https://issues.apache.org/jira/browse/SOLR-2767
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.3, 4.0-ALPHA
>            Reporter: Spyros Kapnissis
>            Priority: Major
>         Attachments: SOLR-2767.patch
>
>
> I use the FieldAnalysisResponse class in order to gather some information about the analysis process. However, I get a ClassCastException (cannot convert String to NamedList<Object>) thrown at AnalysisResponseBase.buildPhases method if I have included the CharMappingFilter in my configuration.
> It seems that a CharFilter does not create a NamedList<Object>, but a String entry in the analysis response.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]