public class DocumentProducer extends Producer<DocumentEvent>
Producer that produces DocumentEvents. TODO appng-search is the better place for thisProducer| Constructor and Description |
|---|
DocumentProducer(Class<? extends org.apache.lucene.analysis.Analyzer> analyzerClass,
String name)
Creates a new
DocumentProducer with a queue size of 500 |
DocumentProducer(int queueSize,
Class<? extends org.apache.lucene.analysis.Analyzer> analyzerClass,
String name)
Creates a new
DocumentProducer |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.apache.lucene.analysis.Analyzer> |
getAnalyzerClass()
Returns the type of the
Analyzer used by this DocumentProducer. |
String |
getName() |
get, get, getBlockingQueue, getWithTimeout, put, put, putWithTimeoutpublic DocumentProducer(int queueSize,
Class<? extends org.apache.lucene.analysis.Analyzer> analyzerClass,
String name)
DocumentProducerqueueSize - the queue size for this produceranalyzerClass - the type of the Analyzer to use for indexing the documentname - the name for this producerpublic DocumentProducer(Class<? extends org.apache.lucene.analysis.Analyzer> analyzerClass, String name)
DocumentProducer with a queue size of 500analyzerClass - the type of the Analyzer to use for indexing the documentname - the name for this producerpublic Class<? extends org.apache.lucene.analysis.Analyzer> getAnalyzerClass()
Analyzer used by this DocumentProducer.Analyzerpublic String getName()
Copyright © 2011–2021 aiticon GmbH. All rights reserved.