Update TODO comments

This commit is contained in:
Atri Sharma 2019-07-26 14:27:41 +05:30
parent 94c76c790c
commit 3fb6a4d613
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import org.apache.lucene.util.DocIdSetBuilder;
/**
* Abstract class for range queries involving multiple ranges against physical points such as {@code IntPoints}
* All ranges are logically ORed together
* TODO: Add capability for handling overlapping ranges at rewrite time
* @lucene.experimental
*/
public abstract class MultiRangeQuery extends Query {
@ -132,6 +133,9 @@ public abstract class MultiRangeQuery extends Query {
}
}
/*
* TODO: Organize ranges similar to how EdgeTree does, to avoid linear scan of ranges
*/
@Override
public final Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException {