mirror of https://github.com/apache/lucene.git
improve Long/DoubleRange.toString
This commit is contained in:
parent
6fefcfa18c
commit
6b601b1c71
|
@ -88,7 +88,7 @@ public final class DoubleRange extends Range {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DoubleRange(" + min + " to " + max + ")";
|
||||
return "DoubleRange(" + label + ": " + min + " to " + max + ")";
|
||||
}
|
||||
|
||||
private static class ValueSourceQuery extends Query {
|
||||
|
|
|
@ -80,7 +80,7 @@ public final class LongRange extends Range {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "LongRange(" + min + " to " + max + ")";
|
||||
return "LongRange(" + label + ": " + min + " to " + max + ")";
|
||||
}
|
||||
|
||||
private static class ValueSourceQuery extends Query {
|
||||
|
|
Loading…
Reference in New Issue