C# Class ScrewTurn.Wiki.SearchEngine.SearchResult

Represents a search result.
Instance and static members are not thread-safe.
Afficher le fichier Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Свойство Type Description
document IDocument
matches WordInfoCollection
relevance Relevance

Méthodes publiques

Méthode Description
SearchResult ( IDocument document ) : System

Initializes a new instance of the SearchResult class.

The relevance is initially set to 0.

ToString ( ) : string

Gets a string representation of the current instance.

Method Details

SearchResult() public méthode

Initializes a new instance of the SearchResult class.
The relevance is initially set to 0.
If is null.
public SearchResult ( IDocument document ) : System
document IDocument The document the result refers to.
Résultat System

ToString() public méthode

Gets a string representation of the current instance.
public ToString ( ) : string
Résultat string

Property Details

document protected_oe property

The document the result refers to.
protected IDocument document
Résultat IDocument

matches protected_oe property

The matches in the document.
protected WordInfoCollection matches
Résultat WordInfoCollection

relevance protected_oe property

The result relevance.
protected Relevance,ScrewTurn.Wiki.SearchEngine relevance
Résultat Relevance