Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
A simple TermFreqVector implementation for an empty vector for use with a deleted document or a document that does not have the field that is being enumerated. More...
Inherits Lucene.Net.Index.ITermFreqVector.
Public Member Functions | |
EmptyVector (string field) | |
string[] | GetTerms () |
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. | |
int | IndexOf (string term) |
int[] | IndexesOf (string[] terms, int start, int len) |
Public Member Functions inherited from Lucene.Net.Index.ITermFreqVector | |
int | IndexOf (System.String term) |
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. | |
int[] | IndexesOf (System.String[] terms, 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 | |
string | Field [get] |
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. | |
A simple TermFreqVector implementation for an empty vector for use with a deleted document or a document that does not have the field that is being enumerated.
Definition at line 147 of file TermVectorEnumerator.cs.
Lucene.Net.Index.EmptyVector.EmptyVector | ( | string | field | ) |
Definition at line 155 of file TermVectorEnumerator.cs.
int [] Lucene.Net.Index.EmptyVector.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.
Implements Lucene.Net.Index.ITermFreqVector.
Definition at line 177 of file TermVectorEnumerator.cs.
string [] Lucene.Net.Index.EmptyVector.GetTerms | ( | ) |
Implements Lucene.Net.Index.ITermFreqVector.
Definition at line 172 of file TermVectorEnumerator.cs.
int [] Lucene.Net.Index.EmptyVector.IndexesOf | ( | string[] | terms, |
int | start, | ||
int | len | ||
) |
Definition at line 187 of file TermVectorEnumerator.cs.
int Lucene.Net.Index.EmptyVector.IndexOf | ( | string | term | ) |
Definition at line 182 of file TermVectorEnumerator.cs.
|
get |
Definition at line 163 of file TermVectorEnumerator.cs.
|
get |
Definition at line 168 of file TermVectorEnumerator.cs.