Class FieldPhraseList
FieldPhraseList has a list of WeightedPhraseInfo that is used by FragListBuilder to create a FieldFragList object.
Inheritance
System.Object
FieldPhraseList
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class FieldPhraseList
Constructors
| Improve this Doc View SourceFieldPhraseList(FieldPhraseList[])
Merging constructor.
Declaration
public FieldPhraseList(FieldPhraseList[] toMerge)
Parameters
Type | Name | Description |
---|---|---|
FieldPhraseList[] | toMerge | FieldPhraseLists to merge to build this one |
FieldPhraseList(FieldTermStack, FieldQuery)
create a FieldPhraseList that has no limit on the number of phrases to analyze
Declaration
public FieldPhraseList(FieldTermStack fieldTermStack, FieldQuery fieldQuery)
Parameters
Type | Name | Description |
---|---|---|
FieldTermStack | fieldTermStack | FieldTermStack object |
FieldQuery | fieldQuery | FieldQuery object |
FieldPhraseList(FieldTermStack, FieldQuery, Int32)
a constructor.
Declaration
public FieldPhraseList(FieldTermStack fieldTermStack, FieldQuery fieldQuery, int phraseLimit)
Parameters
Type | Name | Description |
---|---|---|
FieldTermStack | fieldTermStack | FieldTermStack object |
FieldQuery | fieldQuery | FieldQuery object |
System.Int32 | phraseLimit | maximum size of phraseList |
Properties
| Improve this Doc View SourcePhraseList
return the list of FieldPhraseList.WeightedPhraseInfo.
Declaration
public virtual IList<FieldPhraseList.WeightedPhraseInfo> PhraseList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<FieldPhraseList.WeightedPhraseInfo> |
Methods
| Improve this Doc View SourceAddIfNoOverlap(FieldPhraseList.WeightedPhraseInfo)
Declaration
public virtual void AddIfNoOverlap(FieldPhraseList.WeightedPhraseInfo wpi)
Parameters
Type | Name | Description |
---|---|---|
FieldPhraseList.WeightedPhraseInfo | wpi |