Adds the specified attributes to all documents in the index.
defadd_to_all(self,attributes):...
Parameter
Type
Description
attributes
list[str]
The attributes to add.
Example
fromgroupdocs.search.commonimportAttributeChangeBatchbatch=AttributeChangeBatch()batch.add_to_all(["public"])```### AliasesThesenamescall`add_to_all`too,limitedtotheoverloadslisted.|Alias|Accepts||:-|:-||`add_to_all_files`|`add_to_all_files(attributes)`||`add_to_all_strings`|`add_to_all_strings(attributes)`|### See Also*class[`AttributeChangeBatch`](/search/python-net/groupdocs.search.common/attributechangebatch/)
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.