From 6eed05b1ce6b7b2cbebb3a9b520d4118ef84d865 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Wed, 23 Jun 2021 10:25:11 +0900 Subject: [PATCH] Revert "Exposing min/max value interface on MultiValuedFastField Reader (#1094)" (#1095) This reverts commit bb488305c97c1a1380387bd382dac34179b0851b. --- src/fastfield/multivalued/reader.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/fastfield/multivalued/reader.rs b/src/fastfield/multivalued/reader.rs index 9f3bfa651..99fb5d13c 100644 --- a/src/fastfield/multivalued/reader.rs +++ b/src/fastfield/multivalued/reader.rs @@ -46,24 +46,6 @@ impl MultiValuedFastFieldReader { self.vals_reader.get_range_u64(range.start, &mut vals[..]); } - /// Returns the minimum value for this fast field. - /// - /// The max value does not take in account of possible - /// deleted document, and should be considered as an upper bound - /// of the actual maximum value. - pub fn min_value(&self) -> Item { - self.vals_reader.max_value() - } - - /// Returns the maximum value for this fast field. - /// - /// The max value does not take in account of possible - /// deleted document, and should be considered as an upper bound - /// of the actual maximum value. - pub fn max_value(&self) -> Item { - self.vals_reader.min_value() - } - /// Returns the number of values associated with the document `DocId`. pub fn num_vals(&self, doc: DocId) -> usize { let range = self.range(doc);