lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4841) DetectedLanguage constructor should be public
Date Wed, 10 Jan 2018 21:52:00 GMT

     [ 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


Mime
View raw message