You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2019/01/11 19:38:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch resolved SOLR-2767.
-----------------------------------------
    Resolution: Duplicate

Should be resolved by SOLR-2834. Please open a new case if the issue still persists, as the underlying code has changed a lot since.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org