Class DefaultSolrPartialUpdateInputDocument

    • Constructor Detail

      • DefaultSolrPartialUpdateInputDocument

        public DefaultSolrPartialUpdateInputDocument​(org.apache.solr.common.SolrInputDocument delegate,
                                                     IndexerBatchContext batchContext,
                                                     FieldNameProvider fieldNameProvider,
                                                     RangeNameProvider rangeNameProvider,
                                                     java.util.Set<java.lang.String> indexedFields)
    • Method Detail

      • getIndexedFields

        public java.util.Set<java.lang.String> getIndexedFields()
      • getNotUpdatedIndexedFields

        public java.util.Set<java.lang.String> getNotUpdatedIndexedFields()
      • addField

        public void addField​(java.lang.String fieldName,
                             java.lang.Object value)
                      throws FieldValueProviderException
        Description copied from interface: InputDocument
        Adds 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:
        addField in interface InputDocument
        Overrides:
        addField in class DefaultSolrInputDocument
        Parameters:
        fieldName - - the field name
        value - - the field value
        Throws:
        FieldValueProviderException