append_zero_or_one_character_wildcard method
Leave feedback
On this page
Appends a zero-or-one character wildcard to the word pattern.
The wildcard matches either no character or a single character, represented as ?(0~1) in the textual query syntax. Known characters are converted to lower case because words are stored in lower case in the index.
def append_zero_or_one_character_wildcard(self):
...
from groupdocs.search import Index, SearchQuery
from groupdocs.search.common import WordPattern
pattern = WordPattern()
pattern.append_string("m")
pattern.append_zero_or_one_character_wildcard()
pattern.append_string("rry")
query = SearchQuery.create_word_pattern_query(pattern)
result = index.search(query)
- class
WordPattern
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.