| Package | Description |
|---|---|
| org.elasticsearch.common.lucene.index |
| Modifier and Type | Method and Description |
|---|---|
static ElasticsearchDirectoryReader |
ElasticsearchDirectoryReader.getElasticsearchDirectoryReader(org.apache.lucene.index.DirectoryReader reader)
Tries to unwrap the given reader until the first
ElasticsearchDirectoryReader instance is found or null if no instance is found; |
static ElasticsearchDirectoryReader |
ElasticsearchDirectoryReader.wrap(org.apache.lucene.index.DirectoryReader reader,
ShardId shardId)
Wraps the given reader in a
ElasticsearchDirectoryReader as
well as all it's sub-readers in ElasticsearchLeafReader to
expose the given shard Id. |
Copyright © 2009–2017. All rights reserved.