Show / Hide Table of Contents

    Class WAH8DocIdSet.WordBuilder

    Word-based builder.

    Inheritance
    System.Object
    WAH8DocIdSet.WordBuilder
    WAH8DocIdSet.Builder
    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.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class WordBuilder

    Methods

    | Improve this Doc View Source

    Build()

    Build a new WAH8DocIdSet.

    Declaration
    public virtual WAH8DocIdSet Build()
    Returns
    Type Description
    WAH8DocIdSet
    | Improve this Doc View Source

    SetIndexInterval(Int32)

    Set the index interval. Smaller index intervals improve performance of Advance(Int32) but make the DocIdSet larger. An index interval i makes the index add an overhead which is at most 4/i, but likely much less. The default index interval is 8, meaning the index has an overhead of at most 50%. To disable indexing, you can pass System.Int32.MaxValue as an index interval.

    Declaration
    public virtual object SetIndexInterval(int indexInterval)
    Parameters
    Type Name Description
    System.Int32 indexInterval
    Returns
    Type Description
    System.Object

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)