Package de.cxp.ocs.indexer
Class IndexItemConverter
- java.lang.Object
-
- de.cxp.ocs.indexer.IndexItemConverter
-
-
Constructor Summary
Constructors Constructor Description IndexItemConverter(FieldConfigIndex fieldConfigIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexableItemtoIndexableItem(Document doc)Converts a Document coming in via the REST API into the Indexable Item for Elasticsearch.
-
-
-
Constructor Detail
-
IndexItemConverter
public IndexItemConverter(FieldConfigIndex fieldConfigIndex)
-
-
Method Detail
-
toIndexableItem
public IndexableItem toIndexableItem(Document doc)
Converts a Document coming in via the REST API into the Indexable Item for Elasticsearch.- Parameters:
doc- document to be transformed- Returns:
- indexable item
-
-