Syntax
IDL
HRESULT ListMatchingWords([in] BSTR toMatch, [in] long nLimit, [in] long searchFlags, [in] long fuzziness, [out, retval] long * pVal);
Interface
Parameters
Parameters |
Description |
---|---|
[in] BSTR toMatch |
Word to match (may contain wildcard expressions) |
[in] long nLimit |
Maximum number of words to include in the list |
[in] long searchFlags |
SearcjFlags values specifying features such as fuzzy searching or synonym searching to use in matching words |
[in] long fuzziness |
If dtsSearchFuzzy is set in searchFlags, the level of fuzziness to use |
Returns
Number of words listed
Description
List all words in the index that match toMatch, using the specified searchFlags and fuzziness, up to nLimit words. Returns the number of words found
Remarks
ListMatchingWords finds words that match a particular search expression. ListWords, in contrast, lists a specified number of words before and after a particular word in the index.