Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Inherits Lucene.Net.Index.ITermFreqVector.
Inherited by Lucene.Net.Index.SegmentTermPositionVector.
Public Member Functions | |
override System.String | ToString () |
virtual System.String[] | GetTerms () |
virtual int[] | GetTermFrequencies () |
Array of term frequencies. Locations of the array correspond one to one to the terms in the array obtained from getTerms method. Each location in the array contains the number of times this term occurs in the document or the document field. | |
virtual int | IndexOf (System.String termText) |
Return an index in the term numbers array returned from getTerms at which the term with the specified term appears. If this term does not appear in the array, return -1. | |
virtual int[] | IndexesOf (System.String[] termNumbers, int start, int len) |
Just like indexOf(int) but searches for a number of terms at the same time. Returns an array that has the same size as the number of terms searched for, each slot containing the result of searching for that term number. | |
Properties | |
virtual string | Field [get] |
| |
virtual int | Size [get] |
Properties inherited from Lucene.Net.Index.ITermFreqVector | |
string | Field [get] |
The IFieldable name. | |
int | Size [get] |
The number of terms in the term vector. | |
Definition at line 24 of file SegmentTermVector.cs.
|
virtual |
Array of term frequencies. Locations of the array correspond one to one to the terms in the array obtained from getTerms
method. Each location in the array contains the number of times this term occurs in the document or the document field.
Implements Lucene.Net.Index.ITermFreqVector.
Definition at line 73 of file SegmentTermVector.cs.
|
virtual |
Implements Lucene.Net.Index.ITermFreqVector.
Definition at line 68 of file SegmentTermVector.cs.
|
virtual |
Just like indexOf(int)
but searches for a number of terms at the same time. Returns an array that has the same size as the number of terms searched for, each slot containing the result of searching for that term number.
terms | array containing terms to look for |
start | index in the array where the list of terms starts |
len | the number of terms in the list |
Implements Lucene.Net.Index.ITermFreqVector.
Definition at line 86 of file SegmentTermVector.cs.
|
virtual |
Return an index in the term numbers array returned from getTerms
at which the term with the specified term
appears. If this term does not appear in the array, return -1.
Implements Lucene.Net.Index.ITermFreqVector.
Definition at line 78 of file SegmentTermVector.cs.
override System.String Lucene.Net.Index.SegmentTermVector.ToString | ( | ) |
Definition at line 44 of file SegmentTermVector.cs.
|
get |
The number of the field this vector is associated with
Definition at line 40 of file SegmentTermVector.cs.
|
get |
Definition at line 64 of file SegmentTermVector.cs.