Information about a document retrieved in a search.
SearchResultsItem is returned through the OnFound callback in ISearchSearchStatusHandler, and from SearchResults.
Information returned through OnFound will be incomplete if the dtsSearchDelayDocInfo flag was used in the search, because the callback is called without reading document information records from the index.
Topic |
Description |
The following tables list the members exposed by SearchResultsItem. | |
The methods of the SearchResultsItem class are listed here. | |
The properties of the SearchResultsItem class are listed here. |
SearchResultsItem Methods |
Description |
Retrieve a stored field value for this document. | |
Use to change the raw score of an item in SearchResults in the OnFound callback. |
SearchResultsItem Properties |
Description |
Creation date of the document (UTC) | |
If non-blank, a user-friendly name to display for the document (for example, the title of an HTML document). | |
An integer that uniquely identifies each document in an index. | |
Name of the document as it is stored in the index. | |
Number of hits found in this document. | |
Details on words matched in this document. | |
Word offsets of hits found in this document. | |
By-word summary of hits found in this document. | |
Full path to the index this document was found in. | |
dtSearch Engine build number used to index this document | |
The folder where the document is located. | |
Modification date of the document (UTC) | |
Number of hits in this document, counting each phrase as one hit. This is only available if the dtsSearchWantHitsByWord flag was set in SearchJob.SearchFlags. | |
Relevance score for this document. | |
Relevance score for this document, expressed as a percentage (0-100) of the highest-scoring document in the search. | |
The name of the document, without the path. | |
Size of this document when it was indexed. | |
Hits-in-context string from SearchReportJob. | |
The first 80 text characters of the document. | |
Type id of the document | |
Field-value pairs found in this document when the document was indexed. | |
Use to prevent an item from being added to SearchResults in the OnFound callback. | |
Integer identifying the index that the document was retrieved from, in the IndexesToSearch array | |
Number of words in this document when it was indexed. |
Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.
|