C# Class ScrewTurn.Wiki.SearchEngine.DumpedWordMapping

Contains a word mapping data, structured for easy dumping on disk or database.
The class is not thread-safe.
Afficher le fichier Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Свойство Type Description
documentId uint
firstCharIndex ushort
location byte
wordId uint
wordIndex ushort

Méthodes publiques

Méthode Description
DumpedWordMapping ( uint wordId, uint documentId, BasicWordInfo info ) : System

Initializes a new instance of the DumpedWordMapping class.

DumpedWordMapping ( uint wordId, uint documentId, ushort firstCharIndex, ushort wordIndex, byte location ) : System

Initializes a new instance of the DumpedWordMapping class.

Method Details

DumpedWordMapping() public méthode

Initializes a new instance of the DumpedWordMapping class.
If is null.
public DumpedWordMapping ( uint wordId, uint documentId, BasicWordInfo info ) : System
wordId uint The word unique ID.
documentId uint The document unique ID.
info BasicWordInfo The .
Résultat System

DumpedWordMapping() public méthode

Initializes a new instance of the DumpedWordMapping class.
public DumpedWordMapping ( uint wordId, uint documentId, ushort firstCharIndex, ushort wordIndex, byte location ) : System
wordId uint The word unique ID.
documentId uint The document unique ID.
firstCharIndex ushort The index of the first character the word.
wordIndex ushort The index of the word in the original index.
location byte The location identifier.
Résultat System

Property Details

documentId protected_oe property

The document unique ID.
protected uint documentId
Résultat uint

firstCharIndex protected_oe property

The index of the character of the word.
protected ushort firstCharIndex
Résultat ushort

location protected_oe property

The location identifier.
protected byte location
Résultat byte

wordId protected_oe property

The word unique ID.
protected uint wordId
Résultat uint

wordIndex protected_oe property

The index of the word in the original document.
protected ushort wordIndex
Résultat ushort