clear method
Leave feedback
On this page
Removes all words from the StopWordDictionary.
def clear(self):
...
| Raises | Description |
|---|---|
RuntimeError |
The call changes the dictionary of an index that contains documents, is not in the Ready status or is disposed. |
from groupdocs.search import Index, IndexSettings
index = Index("./index", IndexSettings(), True)
stop_words = index.dictionaries.stop_word_dictionary
if stop_words.count > 0:
stop_words.clear()
- class
StopWordDictionary
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.