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.
|
Lightweight class to hold term, Weight, and positions used for scoring this term. More...
Inherits Lucene.Net.Search.Highlight.WeightedTerm.
Public Member Functions | |
WeightedSpanTerm (float weight, String term) | |
WeightedSpanTerm (float weight, String term, bool positionSensitive) | |
bool | CheckPosition (int position) |
Checks to see if this term is valid at position . | |
void | AddPositionSpans (List< PositionSpan > positionSpans) |
bool | IsPositionSensitive () |
void | SetPositionSensitive (bool positionSensitive) |
List< PositionSpan > | GetPositionSpans () |
Public Member Functions inherited from Lucene.Net.Search.Highlight.WeightedTerm | |
WeightedTerm (float weight, String term) | |
Additional Inherited Members | |
Properties inherited from Lucene.Net.Search.Highlight.WeightedTerm | |
string | Term [get, set] |
the term value (stemmed) | |
float | Weight [get, set] |
the Weight associated with this term | |
Lightweight class to hold term, Weight, and positions used for scoring this term.
Definition at line 28 of file WeightedSpanTerm.cs.
Lucene.Net.Search.Highlight.WeightedSpanTerm.WeightedSpanTerm | ( | float | weight, |
String | term | ||
) |
Definition at line 33 of file WeightedSpanTerm.cs.
Lucene.Net.Search.Highlight.WeightedSpanTerm.WeightedSpanTerm | ( | float | weight, |
String | term, | ||
bool | positionSensitive | ||
) |
Definition at line 40 of file WeightedSpanTerm.cs.
void Lucene.Net.Search.Highlight.WeightedSpanTerm.AddPositionSpans | ( | List< PositionSpan > | positionSpans | ) |
Definition at line 70 of file WeightedSpanTerm.cs.
bool Lucene.Net.Search.Highlight.WeightedSpanTerm.CheckPosition | ( | int | position | ) |
Checks to see if this term is valid at position
.
position | to check against valid term postions |
Definition at line 52 of file WeightedSpanTerm.cs.
List<PositionSpan> Lucene.Net.Search.Highlight.WeightedSpanTerm.GetPositionSpans | ( | ) |
Definition at line 85 of file WeightedSpanTerm.cs.
bool Lucene.Net.Search.Highlight.WeightedSpanTerm.IsPositionSensitive | ( | ) |
Definition at line 75 of file WeightedSpanTerm.cs.
void Lucene.Net.Search.Highlight.WeightedSpanTerm.SetPositionSensitive | ( | bool | positionSensitive | ) |
Definition at line 80 of file WeightedSpanTerm.cs.