Show / Hide Table of Contents

    Class ShardSearchingTestBase.NodeState

    Inheritance
    System.Object
    ShardSearchingTestBase.NodeState
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    protected sealed class NodeState : IDisposable

    Constructors

    | Improve this Doc View Source

    NodeState(ShardSearchingTestBase, Random, Int32, Int32)

    Declaration
    public NodeState(ShardSearchingTestBase shardSearchingTestBase, Random random, int nodeID, int numNodes)
    Parameters
    Type Name Description
    ShardSearchingTestBase shardSearchingTestBase
    Random random
    System.Int32 nodeID
    System.Int32 numNodes

    Properties

    | Improve this Doc View Source

    Dir

    Declaration
    public Directory Dir { get; }
    Property Value
    Type Description
    Directory
    | Improve this Doc View Source

    Mgr

    Declaration
    public SearcherManager Mgr { get; }
    Property Value
    Type Description
    SearcherManager
    | Improve this Doc View Source

    MyNodeID

    Declaration
    public int MyNodeID { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Searchers

    Declaration
    public SearcherLifetimeManager Searchers { get; }
    Property Value
    Type Description
    SearcherLifetimeManager
    | Improve this Doc View Source

    Writer

    Declaration
    public IndexWriter Writer { get; }
    Property Value
    Type Description
    IndexWriter

    Methods

    | Improve this Doc View Source

    Acquire()

    Declaration
    public ShardSearchingTestBase.NodeState.ShardIndexSearcher Acquire()
    Returns
    Type Description
    ShardSearchingTestBase.NodeState.ShardIndexSearcher
    | Improve this Doc View Source

    Acquire(Int64[])

    Declaration
    public ShardSearchingTestBase.NodeState.ShardIndexSearcher Acquire(long[] nodeVersions)
    Parameters
    Type Name Description
    System.Int64[] nodeVersions
    Returns
    Type Description
    ShardSearchingTestBase.NodeState.ShardIndexSearcher
    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    GetCurrentNodeVersions()

    Declaration
    public long[] GetCurrentNodeVersions()
    Returns
    Type Description
    System.Int64[]
    | Improve this Doc View Source

    InitSearcher(Int64[])

    Declaration
    public void InitSearcher(long[] nodeVersions)
    Parameters
    Type Name Description
    System.Int64[] nodeVersions
    | Improve this Doc View Source

    Release(ShardSearchingTestBase.NodeState.ShardIndexSearcher)

    Declaration
    public void Release(ShardSearchingTestBase.NodeState.ShardIndexSearcher s)
    Parameters
    Type Name Description
    ShardSearchingTestBase.NodeState.ShardIndexSearcher s
    | Improve this Doc View Source

    Reopen()

    Declaration
    public void Reopen()
    | Improve this Doc View Source

    UpdateNodeVersion(Int32, Int64)

    Declaration
    public void UpdateNodeVersion(int nodeID, long version)
    Parameters
    Type Name Description
    System.Int32 nodeID
    System.Int64 version
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)