Class DocHelper
Inheritance
System.Object
DocHelper
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class DocHelper : object
Fields
Methods
Name | Description |
---|---|
CreateDocument(Int32, String, Int32) | |
NumFields(Documents.Document) | |
SetupDoc(Documents.Document) | Adds the fields above to a document |
WriteDoc(Random, Directory, Documents.Document) | Writes the document to the directory using a segment named "test"; returns the SegmentInfo describing the new segment |
WriteDoc(Random, Directory, Analyzer, Similarities.Similarity, Documents.Document) | Writes the document to the directory using the analyzer and the similarity score; returns the SegmentInfo describing the new segment |