Class LangDetectLanguageIdentifierUpdateProcessor

    • Method Detail

      • detectLanguage

        protected List<DetectedLanguage> detectLanguage​(Reader solrDocReader)
        Detects language(s) from a reader, typically based on some fields in SolrInputDocument Classes wishing to implement their own language detection module should override this method.
        Specified by:
        detectLanguage in class LanguageIdentifierUpdateProcessor
        Parameters:
        solrDocReader - A reader serving the text from the document to detect
        Returns:
        List of detected language(s) according to RFC-3066