C# Class Lucene.Net.Index.BasePostingsFormatTestCase.SeedPostings

Given the same random seed this always enumerates the same random postings
Inheritance: Lucene.Net.Index.DocsAndPositionsEnum
显示文件 Open project: apache/lucenenet

Public Properties

Property Type Description
DocFreq int
Upto int

Public Methods

Method Description
Advance ( int target ) : int
Cost ( ) : long
DocID ( ) : int
EndOffset ( ) : int
Freq ( ) : int
NextDoc ( ) : int
NextPosition ( ) : int
SeedPostings ( long seed, int minDocFreq, int maxDocFreq, Bits liveDocs, Lucene.Net.Index.FieldInfo options ) : Lucene.Net.Documents
StartOffset ( ) : int

Private Methods

Method Description
_nextDoc ( ) : int

Method Details

Advance() public method

public Advance ( int target ) : int
target int
return int

Cost() public method

public Cost ( ) : long
return long

DocID() public method

public DocID ( ) : int
return int

EndOffset() public method

public EndOffset ( ) : int
return int

Freq() public method

public Freq ( ) : int
return int

NextDoc() public method

public NextDoc ( ) : int
return int

NextPosition() public method

public NextPosition ( ) : int
return int

SeedPostings() public method

public SeedPostings ( long seed, int minDocFreq, int maxDocFreq, Bits liveDocs, Lucene.Net.Index.FieldInfo options ) : Lucene.Net.Documents
seed long
minDocFreq int
maxDocFreq int
liveDocs Bits
options Lucene.Net.Index.FieldInfo
return Lucene.Net.Documents

StartOffset() public method

public StartOffset ( ) : int
return int

Property Details

DocFreq public_oe property

public int DocFreq
return int

Upto public_oe property

public int Upto
return int