• 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 © 2020 Licensed to the Apache Software Foundation (ASF)