List of documents retrieved in a search.
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.
SearchResults requires the IDisposable Pattern.
Topic |
Description |
The following tables list the members exposed by SearchResults. | |
The methods of the SearchResults class are listed here. | |
The properties of the SearchResults class are listed here. |
SearchResults Methods |
Description |
Add a document to SearchResults. | |
Add documents to SearchResults. | |
Remove all items from the search results list. | |
Select a document in search results. | |
Obtain information about a document in search results. | |
Create a SearchResults object containing only those items that are present in two other SearchResults objects | |
Generates xml data used to highlight hits in Adobe Reader through a web browser interface. | |
Generates a stream of XML containing data in the search results list. | |
Fills a SearchResults object with data from an XML stream generated by SerializeAsXml | |
Set the sort key for the currently-selected document. | |
Sorts the search results according to the value in flags, with an optional user-defined field name. | |
Combines search results with another search results object, eliminating duplicate items. | |
UrlDecodeItem converts a string created by UrlEncodeItem back into a search results item. | |
UrlDecodeItemWithIndex converts a string created by UrlEncodeItem or UrlEncodeItemWithIndexId back into a search results item. | |
Creates a url-encoded string describing the currently-selected item in search results. | |
Creates a url-encoded string describing the currently-selected item in search results. |
SearchResults Properties |
Description |
Number of documents in the list | |
Properties of the currently-selected item | |
The search request that generated this list of results | |
Total number of hits in all documents |
Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.
|