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 | Static Public Attributes | List of all members
Lucene.Net.Search.Vectorhighlight.SimpleFragListBuilder Class Reference

A simple implementation of FragListBuilder. More...

Inherits Lucene.Net.Search.Vectorhighlight.FragListBuilder.

Public Member Functions

FieldFragList CreateFieldFragList (FieldPhraseList fieldPhraseList, int fragCharSize)
 create a FieldFragList.

Static Public Attributes

static int MARGIN = 6
static int MIN_FRAG_CHAR_SIZE = MARGIN * 3

Detailed Description

A simple implementation of FragListBuilder.

Definition at line 29 of file SimpleFragListBuilder.cs.

Member Function Documentation

FieldFragList Lucene.Net.Search.Vectorhighlight.SimpleFragListBuilder.CreateFieldFragList ( FieldPhraseList  fieldPhraseList,
int  fragCharSize 

create a FieldFragList.

fieldPhraseListFieldPhraseList object
fragCharSizethe length (number of chars) of a fragment
the created FieldFragList object

Implements Lucene.Net.Search.Vectorhighlight.FragListBuilder.

Definition at line 35 of file SimpleFragListBuilder.cs.

Member Data Documentation

int Lucene.Net.Search.Vectorhighlight.SimpleFragListBuilder.MARGIN = 6

Definition at line 32 of file SimpleFragListBuilder.cs.

int Lucene.Net.Search.Vectorhighlight.SimpleFragListBuilder.MIN_FRAG_CHAR_SIZE = MARGIN * 3

Definition at line 33 of file SimpleFragListBuilder.cs.

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