summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/amazon/carbonado/qe/FilteringScore.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/FilteringScore.java b/src/main/java/com/amazon/carbonado/qe/FilteringScore.java
index 5655a84..1af294c 100644
--- a/src/main/java/com/amazon/carbonado/qe/FilteringScore.java
+++ b/src/main/java/com/amazon/carbonado/qe/FilteringScore.java
@@ -796,6 +796,7 @@ public class FilteringScore<S extends Storable> {
return 1;
}
+ /* FIXME: utilize weak matches in index scans
// Favor index which contains more weak matches.
if (first.getWeakMatchCount() > second.getWeakMatchCount()) {
return -1;
@@ -803,6 +804,7 @@ public class FilteringScore<S extends Storable> {
if (first.getWeakMatchCount() < second.getWeakMatchCount()) {
return 1;
}
+ */
// Favor index with fewer properties, under the assumption that fewer
// properties means smaller sized records that need to be read in.