Class LanguageProcessor

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class LanguageProcessor
    extends org.apache.solr.update.processor.UpdateRequestProcessor
    Processor that takes care to store the language field of an incoming hit into a thread local variable. This information will be used at analisys time.
    Since:
    6.5
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • LanguageProcessor

        public LanguageProcessor​(org.apache.solr.update.processor.UpdateRequestProcessor next)
    • Method Detail

      • processAdd

        public void processAdd​(org.apache.solr.update.AddUpdateCommand cmd)
                        throws IOException
        Overrides:
        processAdd in class org.apache.solr.update.processor.UpdateRequestProcessor
        Throws:
        IOException