get_tokenization_dictionary method

get_tokenization_dictionary

Gets the tokenization dictionary.

Returns the tokenization dictionary for the specified shard in a search network.

def get_tokenization_dictionary(self, shard_index):
    ...
Parameter Type Description
shard_index int The shard index.

Returns: GroupDocs.Search.Scaling.TokenizationDictionary: The dictionary.

Example

indices = node.get_shard_indices()
token_dict = indexer.get_tokenization_dictionary(indices[0])

Aliases

These names call get_tokenization_dictionary too, limited to the overloads listed.

Alias Accepts
get_tokenization_dictionary_int32 get_tokenization_dictionary_int32(shard_index)

See Also