Class FieldTermStack
Field
Inheritance
System.Object
FieldTermStack
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class FieldTermStack : object
Constructors
| Improve this Doc View SourceFieldTermStack(IndexReader, Int32, String, FieldQuery)
a constructor.
Declaration
public FieldTermStack(IndexReader reader, int docId, string fieldName, FieldQuery fieldQuery)
Parameters
Type | Name | Description |
---|---|---|
Index |
reader | |
System. |
docId | document id to be highlighted |
System. |
fieldName | field of the document to be highlighted |
Field |
fieldQuery | Field |
Properties
| Improve this Doc View SourceFieldName
field name
Declaration
public virtual string FieldName { get; }
Property Value
Type | Description |
---|---|
System. |
IsEmpty
to know whether the stack is empty. Returns true if the stack is empty, false if not
Declaration
public virtual bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourcePop()
Returns the top Field
Declaration
public virtual FieldTermStack.TermInfo Pop()
Returns
Type | Description |
---|---|
Field |
the top Field |
Push(FieldTermStack.TermInfo)
Puts a Field
Declaration
public virtual void Push(FieldTermStack.TermInfo termInfo)
Parameters
Type | Name | Description |
---|---|---|
Field |
termInfo | the Field |