mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
lucene 4: Fixed compile error.
This commit is contained in:
parent
673712c0b2
commit
38dc19d8bc
@ -282,7 +282,6 @@ public class ShardGetService extends AbstractIndexShardComponent {
|
||||
// LUCENE 4 UPGRADE: optimize when only a single field needs to be loaded
|
||||
BaseFieldVisitor fieldVisitor = buildFieldSelectors(docMapper, gFields);
|
||||
if (fieldVisitor != null) {
|
||||
fieldVisitor.reset();
|
||||
Document doc;
|
||||
try {
|
||||
docIdAndVersion.reader.reader().document(docIdAndVersion.docId, fieldVisitor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user