You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/10/10 10:47:00 UTC

[jira] [Commented] (SOLR-4841) DetectedLanguage constructor should be public

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

ASF subversion and git services commented on SOLR-4841:
-------------------------------------------------------

Commit a99ff066f405b11ce1fbb70ca2c23aba7eccda37 in solr's branch refs/heads/main from Nick
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=a99ff066f40 ]

SOLR-4841: DetectedLanguage constructor should be public (#5070)

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