Show / Hide Table of Contents

    Class VariableGapTermsIndexWriter.EveryNOrDocFreqTermSelector

    Sets an index term when docFreq >= docFreqThresh, or every interval terms. This should reduce seek time to high docFreq terms.

    Inheritance
    System.Object
    VariableGapTermsIndexWriter.IndexTermSelector
    VariableGapTermsIndexWriter.EveryNOrDocFreqTermSelector
    Namespace: Lucene.Net.Codecs.BlockTerms
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    public sealed class EveryNOrDocFreqTermSelector : VariableGapTermsIndexWriter.IndexTermSelector

    Constructors

    | Improve this Doc View Source

    EveryNOrDocFreqTermSelector(Int32, Int32)

    Declaration
    public EveryNOrDocFreqTermSelector(int docFreqThresh, int interval)
    Parameters
    Type Name Description
    System.Int32 docFreqThresh
    System.Int32 interval

    Methods

    | Improve this Doc View Source

    IsIndexTerm(BytesRef, TermStats)

    Declaration
    public override bool IsIndexTerm(BytesRef term, TermStats stats)
    Parameters
    Type Name Description
    BytesRef term
    TermStats stats
    Returns
    Type Description
    System.Boolean
    Overrides
    VariableGapTermsIndexWriter.IndexTermSelector.IsIndexTerm(BytesRef, TermStats)
    | Improve this Doc View Source

    NewField(FieldInfo)

    Declaration
    public override void NewField(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    FieldInfo fieldInfo
    Overrides
    VariableGapTermsIndexWriter.IndexTermSelector.NewField(FieldInfo)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)