C# Class Bamboo.Prevalence.Indexing.FullText.Postings

Inheritance: System.Collections.IEnumerable
Afficher le fichier Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Méthodes publiques

Méthode Description
Add ( IRecord record, IndexedField field, int position ) : void

Adds a new occurrence of the term. The occurrence information (field and position) will be added to an existing Posting object whenever possible.

GetEnumerator ( ) : System.Collections.IEnumerator

Enumerates through all the Posting objects.

Postings ( string term ) : System

Creates a new Postings object for a term.

Remove ( IRecord record ) : void

Removes all information related to a specific record from this object.

ToString ( ) : string

Builds a readable representation of this object.

Method Details

Add() public méthode

Adds a new occurrence of the term. The occurrence information (field and position) will be added to an existing Posting object whenever possible.
public Add ( IRecord record, IndexedField field, int position ) : void
record IRecord the record where the term was found
field IndexedField the field where the term was found
position int the position in the field where the term was found
Résultat void

GetEnumerator() public méthode

Enumerates through all the Posting objects.
public GetEnumerator ( ) : System.Collections.IEnumerator
Résultat System.Collections.IEnumerator

Postings() public méthode

Creates a new Postings object for a term.
public Postings ( string term ) : System
term string the term
Résultat System

Remove() public méthode

Removes all information related to a specific record from this object.
public Remove ( IRecord record ) : void
record IRecord the record to be removed
Résultat void

ToString() public méthode

Builds a readable representation of this object.
public ToString ( ) : string
Résultat string