Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class WAH8DocIdSet.WordBuilder

    Word-based builder.

    Inheritance
    object
    WAH8DocIdSet.WordBuilder
    WAH8DocIdSet.Builder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class WAH8DocIdSet.WordBuilder

    Methods

    Build()

    Build a new WAH8DocIdSet.

    Declaration
    public virtual WAH8DocIdSet Build()
    Returns
    Type Description
    WAH8DocIdSet

    SetIndexInterval(int)

    Set the index interval. Smaller index intervals improve performance of Advance(int) 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 MaxValue as an index interval.

    Declaration
    public virtual object SetIndexInterval(int indexInterval)
    Parameters
    Type Name Description
    int indexInterval
    Returns
    Type Description
    object
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.