public final class ShardUtils extends Object
Modifier and Type | Method and Description |
---|---|
static ShardId |
extractShardId(org.apache.lucene.index.DirectoryReader reader)
Tries to extract the shard id from a reader if possible, when its not possible,
will return null.
|
static ShardId |
extractShardId(org.apache.lucene.index.LeafReader reader)
Tries to extract the shard id from a reader if possible, when its not possible,
will return null.
|
Copyright © 2009–2016. All rights reserved.