Class FieldTermStack.TermInfo
Single term with its position/offsets in the document and IDF weight. It is System.IComparable<T> but considers only position.
Inheritance
System.Object
    FieldTermStack.TermInfo
  Implements
System.IComparable<FieldTermStack.TermInfo>
  Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class TermInfo : IComparable<FieldTermStack.TermInfo>
  Constructors
| Improve this Doc View SourceTermInfo(String, Int32, Int32, Int32, Single)
Declaration
public TermInfo(string text, int startOffset, int endOffset, int position, float weight)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | text | |
| System.Int32 | startOffset | |
| System.Int32 | endOffset | |
| System.Int32 | position | |
| System.Single | weight | 
Properties
| Improve this Doc View SourceEndOffset
Declaration
public virtual int EndOffset { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Next
Returns the next TermInfo at this same position. This is a circular list!
Declaration
public virtual FieldTermStack.TermInfo Next { get; }
  Property Value
| Type | Description | 
|---|---|
| FieldTermStack.TermInfo | 
Position
Declaration
public virtual int Position { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
StartOffset
Declaration
public virtual int StartOffset { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Text
Declaration
public virtual string Text { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Weight
Declaration
public virtual float Weight { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Single | 
Methods
| Improve this Doc View SourceCompareTo(FieldTermStack.TermInfo)
Declaration
public virtual int CompareTo(FieldTermStack.TermInfo o)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldTermStack.TermInfo | o | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Equals(Object)
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Object.Equals(System.Object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Object.GetHashCode()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()
  Implements
      System.IComparable<T>