Skip to content

Commit

Permalink
fix for none local thread producer when merge dv field
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjingjing authored and jtong11 committed Oct 9, 2020
1 parent 7a09834 commit 8132ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/index/reader/segment_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ where
}

fn doc_values_reader(&self) -> Result<Option<Arc<dyn DocValuesProducer>>> {
self.init_local_doc_values_producer()?;
Ok(self.doc_values_producer.get().map(Arc::clone))
}

Expand Down

0 comments on commit 8132ace

Please sign in to comment.