[
https://issues.apache.org/jira/browse/SOLR-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127244#comment-18127244
]
Nick Shanin commented on SOLR-4841:
-----------------------------------
Hi [~janhoy] ,
I had promised a follow-up for a test that runs language detection through a
custom identifier. Should I post that PR as part of this ticket or create a new
ticket?
> DetectedLanguage constructor should be public
> ---------------------------------------------
>
> Key: SOLR-4841
> URL: https://issues.apache.org/jira/browse/SOLR-4841
> Project: Solr
> Issue Type: Bug
> Components: contrib - LangId
> Reporter: Maciej Lizewski
> Assignee: Jan Høydahl
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> org.apache.solr.update.processor.DetectedLanguage constructor should be
> public. Without that it is impossible to create owne class extending
> LanguageIdentifierUpdateProcessor.
> LanguageIdentifierUpdateProcessor base class needs detectLanguage(String
> content) function to return listy of DetectedLanguage's but you cannot create
> such objects because constructor is accessible only in same package
> (org.apache.solr.update.processor).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]