C# Class Lucene.Net.Index.MergePolicy.DocMap

A map of doc IDs.
Exibir arquivo Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Map ( int old ) : int

Return the new doc ID according to its old value.

Protected Methods

Method Description
DocMap ( ) : System

Sole constructor, typically invoked from sub-classes constructors.

Private Methods

Method Description
IsConsistent ( int maxDoc ) : bool

Useful from an assert.

Method Details

DocMap() protected method

Sole constructor, typically invoked from sub-classes constructors.
protected DocMap ( ) : System
return System

Map() public abstract method

Return the new doc ID according to its old value.
public abstract Map ( int old ) : int
old int
return int