Minor comments
diff --git a/lib/Krawfish/Query/Base/Dual.pm b/lib/Krawfish/Query/Base/Dual.pm
index 56170e6..866240d 100644
--- a/lib/Krawfish/Query/Base/Dual.pm
+++ b/lib/Krawfish/Query/Base/Dual.pm
@@ -14,14 +14,6 @@
# dealing with buffer resizing etc. here!
# TODO:
-# Next to
-# NEXTA and NEXTB there should be flags for:
-# NEXTX to STARTY (Position skipping)
-# NEXTX to ENDY (Position skipping)
-# NEXTX to ENDX (Position skipping)
-# NEXTX to STARTX+1 (Position skipping)
-
-# TODO:
# Improve by skipping to the same document
# (not for exclusion!)
@@ -35,7 +27,7 @@
NEXTA => 1,
NEXTB => 2,
MATCH => 4,
- DEBUG => 1
+ DEBUG => 0
};
@EXPORT = qw/NEXTA NEXTB MATCH/;
diff --git a/lib/Krawfish/Query/Constraints.pm b/lib/Krawfish/Query/Constraints.pm
index 4bed433..d01ea11 100644
--- a/lib/Krawfish/Query/Constraints.pm
+++ b/lib/Krawfish/Query/Constraints.pm
@@ -8,7 +8,7 @@
NEXTA => 1,
NEXTB => 2,
MATCH => 4,
- DEBUG => 1
+ DEBUG => 0
};
# TODO: Improve by skipping to the same document
diff --git a/lib/Krawfish/Query/Reference.pm b/lib/Krawfish/Query/Reference.pm
index fedf86f..9b7bc85 100644
--- a/lib/Krawfish/Query/Reference.pm
+++ b/lib/Krawfish/Query/Reference.pm
@@ -9,10 +9,14 @@
# but a pointer to a query buffer.
#
# Maybe use a Util::MultiBuffer
-#
-# Support a BufferedRef query mechanism, that will be used for identical subqueries.
+
+# Support a BufferedRef query mechanism,
+# that will be used for identical subqueries.
# This is especially important for filtering.
-# This Buffered Reference supports multiple fingers at different positions in the query.
+# This Buffered Reference supports multiple
+# fingers at different positions in the query.
+
+# The ring buffer query is well suited for this.
sub new {
my $class = shift;
@@ -25,15 +29,17 @@
bless {
query => shift,
}, $class;
-}
+};
+
sub new {
my $self = shift;
- my
};
+
sub next;
+
sub to_string {
my $self = shift;
};