[
https://issues.apache.org/jira/browse/SOLR-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127288#comment-18127288
]
ASF subversion and git services commented on SOLR-4841:
-------------------------------------------------------
Commit 3fc8a23074845d128570541e0cd21ea71f2d8b89 in solr's branch
refs/heads/branch_10x from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3fc8a230748 ]
SOLR-4841: DetectedLanguage constructor should be public (#5070)
(cherry picked from commit a99ff066f405b11ce1fbb70ca2c23aba7eccda37)
> 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]