Class SimpleTextTermVectorsWriter
Writes plain-text term vectors.
FOR RECREATIONAL USE ONLY
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
Lucene.Net.Codecs.TermVectorsWriter
SimpleTextTermVectorsWriter
Implements
System.IDisposable
Inherited Members
Lucene.Net.Codecs.TermVectorsWriter.FinishDocument()
Lucene.Net.Codecs.TermVectorsWriter.FinishField()
Lucene.Net.Codecs.TermVectorsWriter.FinishTerm()
Lucene.Net.Codecs.TermVectorsWriter.Merge(Lucene.Net.Index.MergeState)
Lucene.Net.Codecs.TermVectorsWriter.AddAllDocVectors(Lucene.Net.Index.Fields, Lucene.Net.Index.MergeState)
Lucene.Net.Codecs.TermVectorsWriter.Dispose()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.SimpleText
Assembly: Lucene.Net.Codecs.dll
Syntax
public class SimpleTextTermVectorsWriter : TermVectorsWriter, IDisposable
Constructors
| Improve this Doc View SourceSimpleTextTermVectorsWriter(Directory, String, IOContext)
Declaration
public SimpleTextTermVectorsWriter(Directory directory, string segment, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Store.Directory | directory | |
System.String | segment | |
Lucene.Net.Store.IOContext | context |
Properties
| Improve this Doc View SourceComparer
Declaration
public override IComparer<BytesRef> Comparer { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IComparer<Lucene.Net.Util.BytesRef> |
Overrides
Lucene.Net.Codecs.TermVectorsWriter.Comparer
Methods
| Improve this Doc View SourceAbort()
Declaration
public override sealed void Abort()
Overrides
Lucene.Net.Codecs.TermVectorsWriter.Abort()
|
Improve this Doc
View Source
AddPosition(Int32, Int32, Int32, BytesRef)
Declaration
public override void AddPosition(int position, int startOffset, int endOffset, BytesRef payload)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | position | |
System.Int32 | startOffset | |
System.Int32 | endOffset | |
Lucene.Net.Util.BytesRef | payload |
Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceFinish(FieldInfos, Int32)
Declaration
public override void Finish(FieldInfos fis, int numDocs)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.FieldInfos | fis | |
System.Int32 | numDocs |
Overrides
| Improve this Doc View SourceStartDocument(Int32)
Declaration
public override void StartDocument(int numVectorFields)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numVectorFields |
Overrides
| Improve this Doc View SourceStartField(FieldInfo, Int32, Boolean, Boolean, Boolean)
Declaration
public override void StartField(FieldInfo info, int numTerms, bool positions, bool offsets, bool payloads)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.FieldInfo | info | |
System.Int32 | numTerms | |
System.Boolean | positions | |
System.Boolean | offsets | |
System.Boolean | payloads |
Overrides
| Improve this Doc View SourceStartTerm(BytesRef, Int32)
Declaration
public override void StartTerm(BytesRef term, int freq)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.BytesRef | term | |
System.Int32 | freq |
Overrides
Implements
System.IDisposable