Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PForDeltaDocIdSet.Builder

    A builder for PForDeltaDocIdSet.

    Inheritance
    object
    PForDeltaDocIdSet.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 PForDeltaDocIdSet.Builder

    Constructors

    Builder()

    Sole constructor.

    Declaration
    public Builder()

    Methods

    Add(DocIdSetIterator)

    Convenience method to add the content of a DocIdSetIterator to this builder.

    Declaration
    public virtual PForDeltaDocIdSet.Builder Add(DocIdSetIterator it)
    Parameters
    Type Name Description
    DocIdSetIterator it
    Returns
    Type Description
    PForDeltaDocIdSet.Builder

    Add(int)

    Add a document to this builder. Documents must be added in order.

    Declaration
    public virtual PForDeltaDocIdSet.Builder Add(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    PForDeltaDocIdSet.Builder

    Build()

    Build the PForDeltaDocIdSet instance.

    Declaration
    public virtual PForDeltaDocIdSet Build()
    Returns
    Type Description
    PForDeltaDocIdSet

    SetIndexInterval(int)

    Set the index interval. Every indexInterval-th block will be stored in the index. Set to MaxValue to disable indexing.

    Declaration
    public virtual PForDeltaDocIdSet.Builder SetIndexInterval(int indexInterval)
    Parameters
    Type Name Description
    int indexInterval
    Returns
    Type Description
    PForDeltaDocIdSet.Builder
    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.