See Also
dtSearch Text Retrieval Engine -- .NET API (.NET 2.0-4.0) 7.70
SearchFilter::AddIndex Method

Add an index to the filter, returning an integer that can be used to identify the index in the selection functions.

C#
public long AddIndex(ref String indexPath);
Visual Basic
Public Function AddIndex(ByRef indexPath As String) As long
Parameters
Parameters 
Description 
indexPath 
Full path to the index to add to the filter. 
Returns

Integer to be used as whichIndex in the Select methods. 

If the index is already present in the search filter, the index is not added a second time, and the identifier for the existing instance of the index is returned. Therefore, addIndex() can be used to get the identifier for an index that has previously been added to the SearchFilter.

See Also
You are here: dtSearch::Engine Namespace > SearchFilter Class > SearchFilter Methods > AddIndex Method
Copyright (c) 1998-2012 dtSearch Corp. All rights reserved.