Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Properties | List of all members
Lucene.Net.Search.Highlight.TextFragment Class Reference

Low-level class used to record information about a section of a document with a score. More...

Public Member Functions

 TextFragment (StringBuilder markedUpText, int textStartPos, int fragNum)
 
void Merge (TextFragment frag2)
 
 
bool Follows (TextFragment fragment)
 true if this fragment follows the one passed
 
override String ToString ()
 Returns the marked-up text for this text fragment
 

Properties

float Score [get, set]
 
int TextEndPos [get, set]
 
int TextStartPos [get, set]
 
int FragNum [get, set]
 the fragment sequence number
 

Detailed Description

Low-level class used to record information about a section of a document with a score.

Definition at line 26 of file TextFragment.cs.

Constructor & Destructor Documentation

Lucene.Net.Search.Highlight.TextFragment.TextFragment ( StringBuilder  markedUpText,
int  textStartPos,
int  fragNum 
)

Definition at line 31 of file TextFragment.cs.

Member Function Documentation

bool Lucene.Net.Search.Highlight.TextFragment.Follows ( TextFragment  fragment)

true if this fragment follows the one passed

Definition at line 59 of file TextFragment.cs.

void Lucene.Net.Search.Highlight.TextFragment.Merge ( TextFragment  frag2)

Parameters
frag2Fragment to be merged into this one

Definition at line 50 of file TextFragment.cs.

override String Lucene.Net.Search.Highlight.TextFragment.ToString ( )

Returns the marked-up text for this text fragment

Definition at line 67 of file TextFragment.cs.

Property Documentation

int Lucene.Net.Search.Highlight.TextFragment.FragNum
getset

the fragment sequence number

Definition at line 45 of file TextFragment.cs.

float Lucene.Net.Search.Highlight.TextFragment.Score
getset

Definition at line 38 of file TextFragment.cs.

int Lucene.Net.Search.Highlight.TextFragment.TextEndPos
getset

Definition at line 39 of file TextFragment.cs.

int Lucene.Net.Search.Highlight.TextFragment.TextStartPos
getset

Definition at line 40 of file TextFragment.cs.


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