Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PForDeltaDocIdSet.Builder

    A builder for PForDeltaDocIdSet.

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

    Constructors

    | Improve this Doc View Source

    Builder()

    Sole constructor.

    Declaration
    public Builder()

    Methods

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Add(Int32)

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

    Declaration
    public virtual PForDeltaDocIdSet.Builder Add(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    PForDeltaDocIdSet.Builder
    | Improve this Doc View Source

    Build()

    Build the PForDeltaDocIdSet instance.

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

    SetIndexInterval(Int32)

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

    Declaration
    public virtual PForDeltaDocIdSet.Builder SetIndexInterval(int indexInterval)
    Parameters
    Type Name Description
    System.Int32 indexInterval
    Returns
    Type Description
    PForDeltaDocIdSet.Builder
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.