ShardSearchingTestBase

Base test class for simulating distributed search across multiple shards.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class FieldAndShardVersion(val nodeID: Int, val version: Long, val field: String)
Link copied to clipboard

Thrown when the lease for a searcher has expired.

Link copied to clipboard
class TermAndShardVersion(val nodeID: Int, val version: Long, val term: Term)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun broadcastNodeReopen(nodeID: Int, version: Long, newSearcher: IndexSearcher)
Link copied to clipboard
fun getNodeTermStats(terms: Set<Term>, nodeID: Int, version: Long): MutableMap<Term, TermStatistics>
Link copied to clipboard
Link copied to clipboard
fun searchNode(nodeID: Int, nodeVersions: LongArray, q: Query, sort: Sort?, numHits: Int, searchAfter: ScoreDoc?): TopDocs