See Also
dtSearch Text Retrieval Engine -- .NET API (.NET 2.0-4.0) 7.70
SearchResults Class

List of documents retrieved in a search.

dtSearch::Engine::DisposableObject
    dtSearch::Engine::SearchResults
C#
public class SearchResults : DisposableObject;
Visual Basic
Public Class SearchResults
Inherits DisposableObject
Remarks

After a search, SearchJob.Results will contain a SearchResults listing the documents found in the search. 

To access information about each document, call GetNthDoc() to select the document in the list, then use CurrentItem to access its properties.

IDisposable

When using the dtSearch Engine API, it is essential to use the IDisposable pattern with all API objects except JobErrorInfo. Otherwise, the .NET garbage collector may take a long time to free memory used by potentially large objects such as SearchResults, resulting in memory depletion in long-running applications. In C# code, use a "using" clause with dtSearch Engine API objects, and in other code call Dispose() when you are done with an object.

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