Class DefaultSolrPartialUpdateInputDocument
java.lang.Object
de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrInputDocument
de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrPartialUpdateInputDocument
- All Implemented Interfaces:
InputDocument
Implementation of
IndexerQueryContext for partial updates.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSolrPartialUpdateInputDocument(org.apache.solr.common.SolrInputDocument delegate, IndexerBatchContext batchContext, FieldNameProvider fieldNameProvider, RangeNameProvider rangeNameProvider, Set<String> indexedFields) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a field with the given name and value.protected voidgetFieldValue(String fieldName) Gets the value for a certain field name.protected voidMethods inherited from class de.hybris.platform.solrfacetsearch.indexer.impl.DefaultSolrInputDocument
addField, addField, getBatchContext, getDelegate, getFieldNameProvider, getFieldNames, getRangeNameProvider
-
Constructor Details
-
DefaultSolrPartialUpdateInputDocument
public DefaultSolrPartialUpdateInputDocument(org.apache.solr.common.SolrInputDocument delegate, IndexerBatchContext batchContext, FieldNameProvider fieldNameProvider, RangeNameProvider rangeNameProvider, Set<String> indexedFields)
-
-
Method Details
-
getIndexedFields
-
getNotUpdatedIndexedFields
-
addField
Description copied from interface:InputDocumentAdds a field with the given name and value. If a field with the same name already exists, then the given value is appended to the value of that field. If the value is a collection, then each of its values will be added to the field.- Specified by:
addFieldin interfaceInputDocument- Overrides:
addFieldin classDefaultSolrInputDocument- Parameters:
fieldName- - the field namevalue- - the field value- Throws:
FieldValueProviderException
-
getFieldValue
Description copied from interface:InputDocumentGets the value for a certain field name.- Specified by:
getFieldValuein interfaceInputDocument- Overrides:
getFieldValuein classDefaultSolrInputDocument- Parameters:
fieldName- - the field name- Returns:
- the field value.
-
startDocument
protected void startDocument()- Overrides:
startDocumentin classDefaultSolrInputDocument
-
endDocument
protected void endDocument()- Overrides:
endDocumentin classDefaultSolrInputDocument
-