Class VariableGapTermsIndexWriter.IndexTermSelector
Hook for selecting which terms should be placed in the terms index.
NewField(FieldInfo) is called at the start of each new field, and IsIndexTerm(BytesRef, TermStats) for each term in that field.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
    VariableGapTermsIndexWriter.IndexTermSelector
      
      
  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.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class IndexTermSelector
  Methods
| Improve this Doc View SourceIsIndexTerm(BytesRef, TermStats)
Called sequentially on every term being written,
returning true if this term should be indexed.
Declaration
public abstract bool IsIndexTerm(BytesRef term, TermStats stats)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BytesRef | term | |
| TermStats | stats | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
NewField(FieldInfo)
Called when a new field is started.
Declaration
public abstract void NewField(FieldInfo fieldInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfo | fieldInfo |