You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/01/10 21:52:00 UTC

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

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

Cassandra Targett updated SOLR-4841:
------------------------------------
    Component/s: contrib - LangId

> 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
>
> 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org