From c7f8a6ef89b43a908e677df76f35cc425b9c7f91 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 31 Mar 2007 23:59:00 +0000 Subject: Disable weak match check for now. --- src/main/java/com/amazon/carbonado/qe/FilteringScore.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com/amazon/carbonado') 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 { 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 { 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. -- cgit v1.2.3