diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2007-03-31 23:59:00 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2007-03-31 23:59:00 +0000 |
commit | c7f8a6ef89b43a908e677df76f35cc425b9c7f91 (patch) | |
tree | a25c10f92c8e46cc75b3bbadbe0e6122fd518278 /src/main/java/com/amazon | |
parent | 07e1305c5ea574c673ba897ee3b3fbf3d5ec3861 (diff) |
Disable weak match check for now.
Diffstat (limited to 'src/main/java/com/amazon')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/FilteringScore.java | 2 |
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.
|