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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Properties | List of all members
Lucene.Net.Search.Highlight.TokenGroup Class Reference

One, or several overlapping tokens, along with the score(s) and the scope of the original text More...

Public Member Functions

 TokenGroup (TokenStream tokenStream)
 
Token GetToken (int index)
 the "n"th token
 
float GetScore (int index)
 the "n"th score
 

Properties

int MatchStartOffset [get, set]
 
int MatchEndOffset [get, set]
 
int NumTokens [get, set]
 
int EndOffset [get]
 the end position in the original text
 
int StartOffset [get]
 The start position in the original text
 
float TotalScore [get]
 All tokens' scores summed up
 

Detailed Description

One, or several overlapping tokens, along with the score(s) and the scope of the original text

Definition at line 27 of file TokenGroup.cs.

Constructor & Destructor Documentation

Lucene.Net.Search.Highlight.TokenGroup.TokenGroup ( TokenStream  tokenStream)

Definition at line 44 of file TokenGroup.cs.

Member Function Documentation

float Lucene.Net.Search.Highlight.TokenGroup.GetScore ( int  index)

the "n"th score

Parameters
indexa value between 0 and numTokens -1

Definition at line 115 of file TokenGroup.cs.

Token Lucene.Net.Search.Highlight.TokenGroup.GetToken ( int  index)

the "n"th token

Parameters
indexa value between 0 and numTokens -1

Definition at line 106 of file TokenGroup.cs.

Property Documentation

int Lucene.Net.Search.Highlight.TokenGroup.EndOffset
get

the end position in the original text

Definition at line 124 of file TokenGroup.cs.

int Lucene.Net.Search.Highlight.TokenGroup.MatchEndOffset
getset

Definition at line 38 of file TokenGroup.cs.

int Lucene.Net.Search.Highlight.TokenGroup.MatchStartOffset
getset

Definition at line 37 of file TokenGroup.cs.

int Lucene.Net.Search.Highlight.TokenGroup.NumTokens
getset

Definition at line 39 of file TokenGroup.cs.

int Lucene.Net.Search.Highlight.TokenGroup.StartOffset
get

The start position in the original text

Definition at line 132 of file TokenGroup.cs.

float Lucene.Net.Search.Highlight.TokenGroup.TotalScore
get

All tokens' scores summed up

Definition at line 140 of file TokenGroup.cs.


The documentation for this class was generated from the following file: