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 | List of all members
Lucene.Net.Search.Highlight.SimpleSpanFragmenter Class Reference

Inherits Lucene.Net.Search.Highlight.IFragmenter.

Public Member Functions

 SimpleSpanFragmenter (QueryScorer queryScorer)
 
Parameters
queryScorerQueryScorer that was used to score hits

 
 SimpleSpanFragmenter (QueryScorer queryScorer, int fragmentSize)
 
bool IsNewFragment ()
 
See Also
IFragmenter.IsNewFragment

 
void Start (String originalText, TokenStream tokenStream)
 
See Also
IFragmenter.Start(string, TokenStream)

 
- Public Member Functions inherited from Lucene.Net.Search.Highlight.IFragmenter
void Start (string originalText, TokenStream tokenStream)
 Initializes the Fragmenter. You can grab references to the Attributes you are interested in from tokenStream and then access the values in isNewFragment().
 

Detailed Description

Definition at line 31 of file SimpleSpanFragmenter.cs.

Constructor & Destructor Documentation

Lucene.Net.Search.Highlight.SimpleSpanFragmenter.SimpleSpanFragmenter ( QueryScorer  queryScorer)

Parameters
queryScorerQueryScorer that was used to score hits

Definition at line 45 of file SimpleSpanFragmenter.cs.

Lucene.Net.Search.Highlight.SimpleSpanFragmenter.SimpleSpanFragmenter ( QueryScorer  queryScorer,
int  fragmentSize 
)
Parameters
queryScorerQueryScorer that was used to score hits
fragmentSizesize in bytes of each fragment

Definition at line 53 of file SimpleSpanFragmenter.cs.

Member Function Documentation

bool Lucene.Net.Search.Highlight.SimpleSpanFragmenter.IsNewFragment ( )
void Lucene.Net.Search.Highlight.SimpleSpanFragmenter.Start ( String  originalText,
TokenStream  tokenStream 
)

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