public class CollectionTypeDocumentsGenerator<P extends Product> extends BaseCollectionTypeDocumentsGenerator<P>
BaseCollectionTypeDocumentsGenerator that returns null if Exception is of type ContinueProcessingException or BreakChainExceptionDocumentGenerator to skip creating Documents for false cases.com.neurosys.modules.search.CollectionTypeDocumentsGeneratorFIELDNAME_COLLECTION_NAME, FIELDNAME_COLLECTIONTYPE_NAME, FIELDNAME_SEQUENCE_WITHIN_COLLECTION| Constructor and Description |
|---|
CollectionTypeDocumentsGenerator() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.lucene.document.Document> |
getDocuments(com.neurosys.spider.ds.processors.ObjectDocumentRowMapperIndexer<P,Void> indexerRef,
P collection,
Void metaData,
org.apache.lucene.document.Document parentDoc) |
getCollectionName, getCollectionTypeName, getFieldGenerators, getId, getListForProductTransformer, getSequence, setFieldGenerators, setListForProductTransformerpublic List<org.apache.lucene.document.Document> getDocuments(com.neurosys.spider.ds.processors.ObjectDocumentRowMapperIndexer<P,Void> indexerRef, P collection, Void metaData, org.apache.lucene.document.Document parentDoc) throws Exception
getDocuments in interface com.neurosys.spider.indexer.DocumentGenerator<P extends Product,Void,com.neurosys.spider.ds.processors.ObjectDocumentRowMapperIndexer<P extends Product,Void>>getDocuments in class BaseCollectionTypeDocumentsGenerator<P extends Product>ExceptionCopyright © 2018. All rights reserved.