zcollection.indexing.abc.Indexer._update#

Indexer._update(zcollection, func, partition_size=None, npartitions=None, **kwargs)[source]#

Update the index.

Parameters:
  • zcollection (Collection) – The collection to index.

  • func (PartitionCallable) – The function to use to calculate the index.

  • partition_size (int | None) – The length of each bag partition.

  • npartitions (int | None) – The number of desired bag partitions.

  • **kwargs – Additional arguments to pass to the function.

Return type:

None