Uses of Class
de.cxp.ocs.model.index.Document
Packages that use Document
Package
Description
-
Uses of Document in de.cxp.ocs
Methods in de.cxp.ocs that return DocumentModifier and TypeMethodDescriptionSearchController.getDocument
(String tenant, String docId) static Document
DocumentMapper.mapToOriginalDocument
(String id, Map<String, Object> source, FieldConfigIndex fieldConfig) -
Uses of Document in de.cxp.ocs.api.indexer
Method parameters in de.cxp.ocs.api.indexer with type arguments of type DocumentModifier and TypeMethodDescriptionUpdateIndexService.patchDocuments
(String indexName, List<Document> docs) Partial update of an existing document.UpdateIndexService.putDocuments
(String indexName, Boolean replaceExisting, String langCode, List<Document> docs) Puts a document to the index. -
Uses of Document in de.cxp.ocs.api.searcher
Methods in de.cxp.ocs.api.searcher that return Document -
Uses of Document in de.cxp.ocs.client
Methods in de.cxp.ocs.client that return DocumentMethod parameters in de.cxp.ocs.client with type arguments of type DocumentModifier and TypeMethodDescriptionImportClient.patchDocuments
(String indexName, List<Document> docs) Patch one or more documents.ImportClient.putDocuments
(String indexName, Boolean replaceExisting, String langCode, List<Document> docs) Add or overwrite existing documents. -
Uses of Document in de.cxp.ocs.client.deserializer
Methods in de.cxp.ocs.client.deserializer that return DocumentModifier and TypeMethodDescriptionDocumentDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) -
Uses of Document in de.cxp.ocs.controller
Method parameters in de.cxp.ocs.controller with type arguments of type DocumentModifier and TypeMethodDescriptionUpdateIndexController.patchDocuments
(String indexName, List<Document> documents) UpdateIndexController.putDocuments
(String indexName, Boolean replaceExisting, String langCode, List<Document> documents) -
Uses of Document in de.cxp.ocs.elasticsearch
Methods in de.cxp.ocs.elasticsearch that return Document -
Uses of Document in de.cxp.ocs.elasticsearch.mapper
Methods in de.cxp.ocs.elasticsearch.mapper that return DocumentModifier and TypeMethodDescriptionstatic Document
ResultMapper.mapToOriginalDocument
(String id, Map<String, Object> source, FieldConfigIndex fieldConfig) -
Uses of Document in de.cxp.ocs.indexer
Methods in de.cxp.ocs.indexer that return DocumentModifier and TypeMethodDescriptionprotected abstract Document
static Document
DocumentPatcher.patchDocument
(Document patchDocument, Document indexedDocument, @NonNull FieldConfigIndex fieldConfIndex) Methods in de.cxp.ocs.indexer with parameters of type DocumentModifier and TypeMethodDescriptionDocumentPatcher.getRequiredFieldsForMerge
(Document doc, @NonNull FieldConfigIndex fieldConfIndex) AbstractIndexer.patchDocument
(String index, Document doc) static Document
DocumentPatcher.patchDocument
(Document patchDocument, Document indexedDocument, @NonNull FieldConfigIndex fieldConfIndex) AbstractIndexer.putDocument
(String indexName, Boolean replaceExisting, Document doc) IndexItemConverter.toIndexableItem
(Document doc) Converts a Document coming in via the REST API into the Indexable Item for Elasticsearch.Method parameters in de.cxp.ocs.indexer with type arguments of type DocumentModifier and TypeMethodDescriptionAbstractIndexer.patchDocuments
(String indexName, List<Document> documents) AbstractIndexer.putDocuments
(String indexName, Boolean replaceExisting, String langCode, List<Document> documents) Put documents into existing index.AbstractIndexer.putDocuments
(String indexName, Boolean replaceExisting, List<Document> documents) -
Uses of Document in de.cxp.ocs.model.index
Subclasses of Document in de.cxp.ocs.model.indexModifier and TypeClassDescriptionclass
Main product containing the data that is common for all variants.Fields in de.cxp.ocs.model.index declared as DocumentModifier and TypeFieldDescriptionDocument[]
BulkImportData.documents
Document[]
Product.variants
for products without variants, it can be null or rather us a document directly.Methods in de.cxp.ocs.model.index that return DocumentModifier and TypeMethodDescriptionDocument.addAttribute
(Attribute attr) Document.addCategory
(Category... values) Deprecated.use addPath with a specific name.Add a hierarchical path for a given field name.Document.setAttributes
(Attribute... values) -
Uses of Document in de.cxp.ocs.model.result
Fields in de.cxp.ocs.model.result declared as Document -
Uses of Document in de.cxp.ocs.preprocessor
Methods in de.cxp.ocs.preprocessor with parameters of type DocumentModifier and TypeMethodDescriptionprotected abstract BiConsumer
<T, Object> ConfigureableDataprocessor.getProcessConsumer
(Document sourceDocument, boolean visible) Returns aBiConsumer
whose input is the configuredConfigureableField
with the value of the currently processed record.protected boolean
ConfigureableDataprocessor.isRecordVisible
(Document sourceDocument, boolean visible) Called at the end of each process(Document, boolean) run afterConfigureableDataprocessor.getProcessConsumer(Document, boolean)
is has run for everyConfigureableField
, to determine weather the record should be visible or not.boolean
-
Uses of Document in de.cxp.ocs.preprocessor.impl
Methods in de.cxp.ocs.preprocessor.impl with parameters of type DocumentModifier and TypeMethodDescriptionprotected BiConsumer
<PatternConfiguration, Object> RemoveValuesDataProcessor.getProcessConsumer
(Document sourceData, boolean visible) protected BiConsumer
<PatternWithReplacementConfiguration, Object> ReplacePatternInValuesDataProcessor.getProcessConsumer
(Document doc, boolean visible) protected BiConsumer
<SplitValueConfiguration, Object> SplitValueDataProcessor.getProcessConsumer
(Document doc, boolean visible) boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Document in de.cxp.ocs.spi.indexer
Methods in de.cxp.ocs.spi.indexer with parameters of type DocumentModifier and TypeMethodDescriptionvoid
DocumentPostProcessor.process
(Document originalDocument, IndexableItem record, FieldConfigAccess fieldConfig) Called for each converted document.boolean
Called for each source document.