Synchronizes the list of indexed documents with those on shards.
This operation fixes issues with indexing and deletion of documents that resulted from communication problems with the search network nodes.
defsynchronize(self,options):...
Parameter
Type
Description
options
SynchronizeOptions
The synchronize options.
Example
fromgroupdocs.search.optionsimportSynchronizeOptions# Assuming `indexer` is an instance of `Indexer` obtained from a configured nodeoptions=SynchronizeOptions()indexer.synchronize(options)
Aliases
These names call synchronize too, limited to the overloads listed.