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
Classes | Public Member Functions | Public Attributes | List of all members
Lucene.Net.Search.Vectorhighlight.FieldFragList Class Reference

FieldFragList has a list of "frag info" that is used by FragmentsBuilder class to create fragments (snippets). /summary> More...

Classes

class  WeightedFragInfo
 

Public Member Functions

 FieldFragList (int fragCharSize)
 a constructor.
 
void Add (int startOffset, int endOffset, List< WeightedPhraseInfo > phraseInfoList)
 convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos
 

Public Attributes

List< WeightedFragInfofragInfos = new List<WeightedFragInfo>()
 

Detailed Description

FieldFragList has a list of "frag info" that is used by FragmentsBuilder class to create fragments (snippets). /summary>

Definition at line 36 of file FieldFragList.cs.

Constructor & Destructor Documentation

Lucene.Net.Search.Vectorhighlight.FieldFragList.FieldFragList ( int  fragCharSize)

a constructor.

Parameters
fragCharSizethe length (number of chars) of a fragment

Definition at line 46 of file FieldFragList.cs.

Member Function Documentation

void Lucene.Net.Search.Vectorhighlight.FieldFragList.Add ( int  startOffset,
int  endOffset,
List< WeightedPhraseInfo phraseInfoList 
)

convert the list of WeightedPhraseInfo to WeightedFragInfo, then add it to the fragInfos

Parameters
startOffsetstart offset of the fragment
endOffsetend offset of the fragment
phraseInfoListlist of WeightedPhraseInfo objects

Definition at line 57 of file FieldFragList.cs.

Member Data Documentation

List<WeightedFragInfo> Lucene.Net.Search.Vectorhighlight.FieldFragList.fragInfos = new List<WeightedFragInfo>()

Definition at line 39 of file FieldFragList.cs.


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