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

Inheritance: System.Collections.IEnumerable
Datei anzeigen Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Public Methods

Method 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 method

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
return void

GetEnumerator() public method

Enumerates through all the Posting objects.
public GetEnumerator ( ) : System.Collections.IEnumerator
return System.Collections.IEnumerator

Postings() public method

Creates a new Postings object for a term.
public Postings ( string term ) : System
term string the term
return System

Remove() public method

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

ToString() public method

Builds a readable representation of this object.
public ToString ( ) : string
return string