Applies the specified batch of attribute changes to indexed documents without reindexing.
defchange_attributes(self,batch,options):...
Parameter
Type
Description
batch
AttributeChangeBatch
The attribute change batch.
options
ChangeAttributesOptions
The change attributes options.
Example
fromgroupdocs.search.commonimportAttributeChangeBatch# Prepare a batch of attribute changesbatch=AttributeChangeBatch()# TODO: add attribute changes to the batch, e.g., batch.add(...)# Apply the changes to the indexerindex.change_attributes(batch)
Aliases
These names call change_attributes too, limited to the overloads listed.