C# Class Lucene.Net.Index.BaseTermVectorsFormatTestCase

Base class aiming at testing TermVectorsFormat. To test a new format, all you need is to register a new Codec which uses it and extend this class and override #getCodec(). @lucene.experimental
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
TestClone ( ) : void
TestHighFreqs ( ) : void
TestLotsOfFields ( ) : void
TestMerge ( ) : void
TestMixedOptions ( ) : void
TestRandom ( ) : void
TestRareVectors ( ) : void

Méthodes protégées

Méthode Description
AddId ( Lucene.Net.Documents.Document doc, string id ) : Lucene.Net.Documents.Document
AddRandomFields ( Lucene.Net.Documents.Document doc ) : void
AssertEquals ( RandomDocument doc, Fields fields ) : void
AssertEquals ( RandomTokenStream tk, FieldType ft, Lucene.Net.Index.Terms terms ) : void
DocID ( IndexReader reader, string id ) : int
Equals ( object o1, object o2 ) : bool
FieldType ( Options options ) : FieldType
RandomOptions ( ) : Options
RandomPayload ( ) : BytesRef
ValidOptions ( ) : IEnumerable
ValidOptions ( Options startInc, Options endInc ) : IEnumerable

Method Details

AddId() protected méthode

protected AddId ( Lucene.Net.Documents.Document doc, string id ) : Lucene.Net.Documents.Document
doc Lucene.Net.Documents.Document
id string
Résultat Lucene.Net.Documents.Document

AddRandomFields() protected méthode

protected AddRandomFields ( Lucene.Net.Documents.Document doc ) : void
doc Lucene.Net.Documents.Document
Résultat void

AssertEquals() protected méthode

protected AssertEquals ( RandomDocument doc, Fields fields ) : void
doc RandomDocument
fields Fields
Résultat void

AssertEquals() protected méthode

protected AssertEquals ( RandomTokenStream tk, FieldType ft, Lucene.Net.Index.Terms terms ) : void
tk RandomTokenStream
ft Lucene.Net.Documents.FieldType
terms Lucene.Net.Index.Terms
Résultat void

DocID() protected méthode

protected DocID ( IndexReader reader, string id ) : int
reader IndexReader
id string
Résultat int

Equals() protected static méthode

protected static Equals ( object o1, object o2 ) : bool
o1 object
o2 object
Résultat bool

FieldType() protected méthode

protected FieldType ( Options options ) : FieldType
options Options
Résultat Lucene.Net.Documents.FieldType

RandomOptions() protected méthode

protected RandomOptions ( ) : Options
Résultat Options

RandomPayload() protected méthode

protected RandomPayload ( ) : BytesRef
Résultat BytesRef

TestClone() public méthode

public TestClone ( ) : void
Résultat void

TestHighFreqs() public méthode

public TestHighFreqs ( ) : void
Résultat void

TestLotsOfFields() public méthode

public TestLotsOfFields ( ) : void
Résultat void

TestMerge() public méthode

public TestMerge ( ) : void
Résultat void

TestMixedOptions() public méthode

public TestMixedOptions ( ) : void
Résultat void

TestRandom() public méthode

public TestRandom ( ) : void
Résultat void

TestRareVectors() public méthode

public TestRareVectors ( ) : void
Résultat void

ValidOptions() protected méthode

protected ValidOptions ( ) : IEnumerable
Résultat IEnumerable

ValidOptions() protected méthode

protected ValidOptions ( Options startInc, Options endInc ) : IEnumerable
startInc Options
endInc Options
Résultat IEnumerable