Package com.logicaldoc.core.searchengine
Class LanguageProcessor
- java.lang.Object
-
- org.apache.solr.update.processor.UpdateRequestProcessor
-
- com.logicaldoc.core.searchengine.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 Summary
Constructors Constructor Description LanguageProcessor(org.apache.solr.update.processor.UpdateRequestProcessor next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processAdd(org.apache.solr.update.AddUpdateCommand cmd)
-
-
-
Method Detail
-
processAdd
public void processAdd(org.apache.solr.update.AddUpdateCommand cmd) throws IOException
- Overrides:
processAdd
in classorg.apache.solr.update.processor.UpdateRequestProcessor
- Throws:
IOException
-
-