get_tokenization_dictionary method
Leave feedback
On this page
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.
indices = node.get_shard_indices()
token_dict = indexer.get_tokenization_dictionary(indices[0])
These names call get_tokenization_dictionary too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
get_tokenization_dictionary_int32 |
get_tokenization_dictionary_int32(shard_index) |
- class
Indexer
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.