You are here: Symbol Reference
> dtSearch.Engine Namespace
> WordListBuilder Class
> WordListBuilder Methods
> SetFilter Method
dtSearch .NET Standard API 2021.02
WordListBuilder.SetFilter Method

Limit results of ListMatchingWords or ListFieldValues to the documents in a SearchFilter

public void SetFilter( SearchFilter searchFilter );

ListWords is not affected by SetFilter. Only ListMatchingWords and ListFieldValues limit their results to the items in the filter. 

When a SearchFilter is used, all counts returned by WordListBuilder are document counts. For example, if a word occurs 20 times in 7 documents, the count returned will be 7 for both GetNthWordCount and GetNthWordDocCount.

Copyright (c) 1998-2021 dtSearch Corp. All rights reserved.