|
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.
|
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< WeightedFragInfo > | fragInfos = new List<WeightedFragInfo>() |
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.
| Lucene.Net.Search.Vectorhighlight.FieldFragList.FieldFragList | ( | int | fragCharSize | ) |
a constructor.
| fragCharSize | the length (number of chars) of a fragment |
Definition at line 46 of file FieldFragList.cs.
| 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
| startOffset | start offset of the fragment |
| endOffset | end offset of the fragment |
| phraseInfoList | list of WeightedPhraseInfo objects |
Definition at line 57 of file FieldFragList.cs.
| List<WeightedFragInfo> Lucene.Net.Search.Vectorhighlight.FieldFragList.fragInfos = new List<WeightedFragInfo>() |
Definition at line 39 of file FieldFragList.cs.
1.8.3