Started transforming into composition based OOP
diff --git a/*shell* b/*shell*
deleted file mode 100644
index 6d95d3d..0000000
--- a/*shell*
+++ /dev/null
@@ -1,3717 +0,0 @@
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish/t/index $ cd ..
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish/t $ cd ..
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... ok
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-All tests successful.
-
-Test Summary Report
--------------------
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2631, 16 wallclock secs ( 0.82 usr 0.09 sys + 14.34 cusr 1.15 csys = 16.40 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ git status
-On branch master
-Your branch is up-to-date with 'origin/master'.
-Changes to be committed:
- (use "git reset HEAD <file>..." to unstage)
-
- deleted: lib/Krawfish/Index/Subtokens.pm
- deleted: t/index/subtokens.t
-
-Changes not staged for commit:
- (use "git add <file>..." to update what will be committed)
- (use "git checkout -- <file>..." to discard changes in working directory)
-
- modified: lib/Krawfish/Index/Merge.pm
- modified: lib/Krawfish/Index/Segment.pm
- modified: lib/Krawfish/Index/Tokens.pm
-
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ git add .
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ git commit -m "Removed Subtokens class (unnecessary due to Forward::*)"
-[master 4037dd4] Removed Subtokens class (unnecessary due to Forward::*)
- 5 files changed, 27 insertions(+), 228 deletions(-)
- delete mode 100644 lib/Krawfish/Index/Subtokens.pm
- delete mode 100644 t/index/subtokens.t
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... ok
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-All tests successful.
-
-Test Summary Report
--------------------
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2631, 16 wallclock secs ( 0.74 usr 0.07 sys + 14.34 cusr 1.10 csys = 16.25 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/?
-# Failed test 'Field id'
-# at t/index/fields.t line 39.
-# Looks like you failed 1 test of 36.
-t/index/fields.t ............................ Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/36 subtests
-t/index/forward_stream.t .................... 1/?
-# Failed test 'Stringification'
-# at t/index/forward_stream.t line 38.
-# got: 'filter(#12,[1])'
-# expected: 'filter(#10,[1])'
-
-# Failed test 'Stringification'
-# at t/index/forward_stream.t line 47.
-# got: 'filter(#15,[1])'
-# expected: 'filter(#13,[1])'
-
-# Failed test 'Stringification'
-# at t/index/forward_stream.t line 62.
-# got: 'constr(pos=272:#12,filter(#15,[1]))'
-# expected: 'constr(pos=272:#10,filter(#13,[1]))'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 73.
-# got: '9'
-# expected: '7'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 74.
-# got: '9'
-# expected: '7'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 77.
-# got: '!URI'
-# expected: '*Der'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 81.
-# got: '14'
-# expected: '12'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 82.
-# got: '14'
-# expected: '12'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 84.
-# got: '<>akron/c=NP'
-# expected: '*Bau'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 88.
-# got: '16'
-# expected: '14'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 90.
-# got: '*Bau'
-# expected: '*Leiter'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 94.
-# got: '14'
-# expected: '12'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 95.
-# got: '14'
-# expected: '12'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 97.
-# got: '<>akron/c=NP'
-# expected: '*Bau'
-
-# Failed test 'Annotation'
-# at t/index/forward_stream.t line 100.
-# got: '15'
-# expected: '13'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 108.
-# got: '16'
-# expected: '14'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 110.
-# got: '*Bau'
-# expected: '*Leiter'
-# Looks like you failed 17 tests of 53.
-t/index/forward_stream.t .................... Dubious, test returned 17 (wstat 4352, 0x1100)
-Failed 17/53 subtests
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/?
-# Failed test 'Fields'
-# at t/koral/doc.t line 45.
-# got: ''docID'='doc-3';'license'='closed';'textLength'=8;'URI'='http://korap.ids-mannheim.de/instance/example''
-# expected: ''docID'='doc-3';'license'='closed';'textLength'=8'
-
-# Failed test 'Fields'
-# at t/koral/doc.t line 52.
-# got: '1=2;3=4;5=6(8);7=8'
-# expected: '1=2;3=4;5=6(8)'
-
-# Failed test 'Stream'
-# at t/koral/doc.t line 54.
-# got: '(0)[9;10$1;12$3](1) [14;15$3](2)-[16](3) [17;18$4;19$4](4) [22;23$5;12$8](5) [24;25$6](6) [14;26$8](7)-[27](8).['']'
-# expected: '(0)[7;8$1;10$3](1) [12;13$3](2)-[14](3) [15;16$4;17$4](4) [20;21$5;10$8](5) [22;23$6](6) [12;24$8](7)-[25](8).['']'
-
-# Failed test 'Stringification'
-# at t/koral/doc.t line 56.
-# got: '[1=2;3=4;5=6(8);7=8](0)[9;10$1;12$3](1) [14;15$3](2)-[16](3) [17;18$4;19$4](4) [22;23$5;12$8](5) [24;25$6](6) [14;26$8](7)-[27](8).['']'
-# expected: '[1=2;3=4;5=6(8)](0)[7;8$1;10$3](1) [12;13$3](2)-[14](3) [15;16$4;17$4](4) [20;21$5;10$8](5) [22;23$6](6) [12;24$8](7)-[25](8).['']'
-# Looks like you failed 4 tests of 14.
-t/koral/doc.t ............................... Dubious, test returned 4 (wstat 1024, 0x400)
-Failed 4/14 subtests
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 1/?
-# Failed test 'Stringification'
-# at t/plan/span.t line 30.
-# got: '#12'
-# expected: '#10'
-# Looks like you failed 1 test of 18.
-t/plan/span.t ............................... Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/18 subtests
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 4/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 256 Tests: 36 Failed: 1)
- Failed test: 17
- Non-zero exit status: 1
-t/index/forward_stream.t (Wstat: 4352 Tests: 53 Failed: 17)
- Failed tests: 9, 12, 15, 22-23, 25, 28-29, 31, 34, 36
- 39-40, 42, 44, 51, 53
- Non-zero exit status: 17
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 1024 Tests: 14 Failed: 4)
- Failed tests: 10, 12-14
- Non-zero exit status: 4
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-t/plan/span.t (Wstat: 256 Tests: 18 Failed: 1)
- Failed test: 13
- Non-zero exit status: 1
-Files=91, Tests=2631, 21 wallclock secs ( 0.95 usr 0.13 sys + 18.64 cusr 1.71 csys = 21.43 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 16.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/koral/filter.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. C-c C-c
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 16.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-# Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2620, 19 wallclock secs ( 0.93 usr 0.05 sys + 17.44 cusr 1.61 csys = 20.03 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 16.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 2/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? unknown field type at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 136.
-# Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2620, 15 wallclock secs ( 0.74 usr 0.10 sys + 13.90 cusr 1.14 csys = 15.88 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/corpus/field.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00)
-All 4 subtests passed
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/index/fields.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/index/forward_stream.t .................... 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/index/forward_stream.t .................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 12.
-t/index/segment.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 12 subtests passed
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 16.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 2.
-t/plan/span.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 2 subtests passed
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 2.
-t/query/span.t .............................. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 2 subtests passed
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 5.
-t/query/term_or.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 5 subtests passed
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? Can't locate object method "add_store" via package "Krawfish::Koral::Document::Fields" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document.pm line 133.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/result/group_classes.t .................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 4 subtests passed
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/corpus/field.t (Wstat: 65280 Tests: 4 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/index/fields.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/index/forward_stream.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/index/segment.t (Wstat: 65280 Tests: 12 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-t/plan/span.t (Wstat: 65280 Tests: 2 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/query/span.t (Wstat: 65280 Tests: 2 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/query/term_or.t (Wstat: 65280 Tests: 5 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/result/group_classes.t (Wstat: 65280 Tests: 4 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=91, Tests=2436, 15 wallclock secs ( 0.69 usr 0.10 sys + 13.77 cusr 1.14 csys = 15.70 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/corpus/field.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00)
-All 4 subtests passed
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/index/fields.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-t/index/forward_stream.t .................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/index/forward_stream.t .................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 12.
-t/index/segment.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 12 subtests passed
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 16.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 2.
-t/plan/span.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 2 subtests passed
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 2.
-t/query/span.t .............................. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 2 subtests passed
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 5.
-t/query/term_or.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 5 subtests passed
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/result/group_classes.t .................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 4 subtests passed
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/corpus/field.t (Wstat: 65280 Tests: 4 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/index/fields.t (Wstat: 65280 Tests: 6 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/index/forward_stream.t (Wstat: 65280 Tests: 6 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/index/segment.t (Wstat: 65280 Tests: 12 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-t/plan/span.t (Wstat: 65280 Tests: 2 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/query/span.t (Wstat: 65280 Tests: 2 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/query/term_or.t (Wstat: 65280 Tests: 5 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/result/group_classes.t (Wstat: 65280 Tests: 4 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=91, Tests=2442, 17 wallclock secs ( 0.79 usr 0.10 sys + 15.69 cusr 1.16 csys = 17.74 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/corpus/field.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00)
-All 4 subtests passed
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/index/fields.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-t/index/forward_stream.t .................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/index/forward_stream.t .................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... 1/? Can't locate object method "term_id" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 48.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 12.
-t/index/segment.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 12 subtests passed
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ C-c C-c
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... 1/?
-# Failed test 'Stringification'
-# at t/index/forward_stream.t line 38.
-# got: 'filter(#11,[1])'
-# expected: 'filter(#10,[1])'
-
-# Failed test 'Stringification'
-# at t/index/forward_stream.t line 47.
-# got: 'filter(#14,[1])'
-# expected: 'filter(#13,[1])'
-
-# Failed test 'Stringification'
-# at t/index/forward_stream.t line 62.
-# got: 'constr(pos=272:#11,filter(#14,[1]))'
-# expected: 'constr(pos=272:#10,filter(#13,[1]))'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 73.
-# got: '8'
-# expected: '7'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 74.
-# got: '8'
-# expected: '7'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 77.
-# got: '!URI'
-# expected: '*Der'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 81.
-# got: '13'
-# expected: '12'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 82.
-# got: '13'
-# expected: '12'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 84.
-# got: '°c'
-# expected: '*Bau'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 88.
-# got: '15'
-# expected: '14'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 90.
-# got: 'akron=Bau-Leiter'
-# expected: '*Leiter'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 94.
-# got: '13'
-# expected: '12'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 95.
-# got: '13'
-# expected: '12'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 97.
-# got: '°c'
-# expected: '*Bau'
-
-# Failed test 'Annotation'
-# at t/index/forward_stream.t line 100.
-# got: '14'
-# expected: '13'
-
-# Failed test 'Get term id'
-# at t/index/forward_stream.t line 108.
-# got: '15'
-# expected: '14'
-
-# Failed test 'Get term by term id'
-# at t/index/forward_stream.t line 110.
-# got: 'akron=Bau-Leiter'
-# expected: '*Leiter'
-# Looks like you failed 17 tests of 53.
-t/index/forward_stream.t .................... Dubious, test returned 17 (wstat 4352, 0x1100)
-Failed 17/53 subtests
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 16.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 3.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 3 subtests passed
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... 1/?
-# Failed test 'Stringification'
-# at t/plan/span.t line 30.
-# got: '#11'
-# expected: '#10'
-# Looks like you failed 1 test of 18.
-t/plan/span.t ............................... Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/18 subtests
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/index/forward_stream.t (Wstat: 4352 Tests: 53 Failed: 17)
- Failed tests: 9, 12, 15, 22-23, 25, 28-29, 31, 34, 36
- 39-40, 42, 44, 51, 53
- Non-zero exit status: 17
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 65280 Tests: 3 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-t/plan/span.t (Wstat: 256 Tests: 18 Failed: 1)
- Failed test: 13
- Non-zero exit status: 1
-Files=91, Tests=2620, 16 wallclock secs ( 0.79 usr 0.08 sys + 13.89 cusr 1.08 csys = 15.84 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... 1/?
-# Failed test 'Annotation'
-# at t/index/forward_stream.t line 100.
-# got: '14'
-# expected: '15'
-# Looks like you failed 1 test of 53.
-t/index/forward_stream.t .................... Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/53 subtests
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/? Can't locate object method "primary_data" via package "Krawfish::Koral::Document" at t/koral/doc.t line 39.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/koral/doc.t ............................... Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/index/forward_stream.t (Wstat: 256 Tests: 53 Failed: 1)
- Failed test: 44
- Non-zero exit status: 1
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 65280 Tests: 6 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2623, 15 wallclock secs ( 0.72 usr 0.11 sys + 14.05 cusr 1.10 csys = 15.98 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... 1/?
-# Failed test 'Fields'
-# at t/koral/doc.t line 49.
-# got: ''docID'='doc-3';'license'='closed';'textLength'=8'
-# expected: ''docID'='doc-3';'license'='closed';'textLength'=8'
-
-# Failed test 'Fields'
-# at t/koral/doc.t line 56.
-# got: '1=2;3=4;5=6(8)'
-# expected: '1=2;3=4;5=6(8)'
-
-# Failed test 'Stream'
-# at t/koral/doc.t line 58.
-# got: ''
-# expected: '(0)[7;8$1;10$3](1) [12;13$3](2)-[14](3) [15;16$4;17$4](4) [20;21$5;10$8](5) [22;23$6](6) [12;24$8](7)-[25](8).['']'
-
-# Failed test 'Stringification'
-# at t/koral/doc.t line 60.
-# got: ''
-# expected: '[1=2;3=4;5=6(8)](0)[7;8$1;10$3](1) [12;13$3](2)-[14](3) [15;16$4;17$4](4) [20;21$5;10$8](5) [22;23$6](6) [12;24$8](7)-[25](8).['']'
-# Looks like you failed 4 tests of 12.
-t/koral/doc.t ............................... Dubious, test returned 4 (wstat 1024, 0x400)
-Failed 4/12 subtests
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-
-Test Summary Report
--------------------
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/doc.t (Wstat: 1024 Tests: 12 Failed: 4)
- Failed tests: 8, 10-12
- Non-zero exit status: 4
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2629, 15 wallclock secs ( 0.77 usr 0.08 sys + 13.94 cusr 1.15 csys = 15.94 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t
-t/binary.t .................................. ok
-t/corpus/and.t .............................. ok
-t/corpus/class.t ............................ ok
-t/corpus/field.t ............................ ok
-t/corpus/or.t ............................... ok
-t/index/dictionary.t ........................ ok
-t/index/dictionary_dynamic.t ................ ok
-t/index/dictionary_static.t ................. ok
-t/index/fields.t ............................ ok
-t/index/forward_stream.t .................... ok
-t/index/postings_lists.t .................... ok
-t/index/postings_live.t ..................... ok
-t/index/ranks.t ............................. ok
-t/index/segment.t ........................... ok
-t/index/stream.t ............................ ok
-t/koral/boolean.t ........................... ok
-t/koral/boolean_token.t ..................... ok
-t/koral/corpus.t ............................ ok
-t/koral/deserialize_query.t ................. ok
-t/koral/doc.t ............................... ok
-t/koral/filter.t ............................ ok
-t/koral/flow.t .............................. ok
-t/koral/inflate.t ........................... ok
-t/koral/meta.t .............................. ok
-t/koral/query.t ............................. ok
-t/koral/sequential.t ........................ ok
-t/koral/sequential_distances.t .............. ok
-t/koral/sequential_negation.t ............... ok
-t/koral/serialization.t ..................... ok
-t/plan/class.t .............................. ok
-t/plan/constraints.t ........................ ok
-t/plan/exclusion.t .......................... ok
-t/plan/filter.t ............................. ok
-t/plan/length.t ............................. ok
-t/plan/match.t .............................. ok
-t/plan/meta.t ............................... ok
-t/plan/position.t ........................... ok
-t/plan/repetition.t ......................... ok
-t/plan/sequence.t ........................... ok
-t/plan/span.t ............................... ok
-t/plan/span_or.t ............................ ok
-t/plan/term.t ............................... ok
-t/plan/term_group.t ......................... ok
-t/plan/term_re.t ............................ ok
-t/plan/token.t .............................. ok
-t/plan/unique.t ............................. ok
-t/posting/bundle.t .......................... ok
-t/query/class.t ............................. ok
-t/query/clone.t ............................. ok
-t/query/constraints_class_distance.t ........ ok
-t/query/constraints_in_between.t ............ ok
-t/query/constraints_not_between.t ........... ok
-t/query/constraints_position.t .............. ok
-t/query/exclusion.t ......................... ok
-t/query/filter.t ............................ ok
-t/query/length.t ............................ ok
-t/query/match.t ............................. ok
-t/query/next.t .............................. ok
-t/query/nothing.t ........................... ok
-t/query/repetition.t ........................ ok
-t/query/span.t .............................. ok
-t/query/span_or.t ........................... ok
-t/query/term.t .............................. ok
-t/query/term_group.t ........................ ok
-t/query/term_id.t ........................... ok
-t/query/term_or.t ........................... ok
-t/query/unique.t ............................ ok
-t/result/group_classes.t .................... 1/? # Check groups without subtoken index
-t/result/group_classes.t .................... ok
-t/result/group_fields.t ..................... 1/? # check group fields!
-t/result/group_fields.t ..................... ok
-t/result/limit.t ............................ 1/? # Check limiting
-t/result/limit.t ............................ ok
-t/result/segment/aggregate_facets.t ......... 1/? # check for multivalued fields
-t/result/segment/aggregate_facets.t ......... ok
-t/result/segment/aggregate_freq.t ........... ok
-t/result/segment/aggregate_length.t ......... ok
-t/result/segment/aggregate_values.t ......... ok
-t/result/segment/enrich_fields.t ............ ok
-t/result/segment/enrich_highlights.t ........ ok
-t/result/segment/enrich_snippet.t ........... ok
-t/result/segment/enrich_snippet_elements.t .. ok
-t/result/sort.t ............................. 1/? # check sorting!
-t/result/sort.t ............................. ok
-t/result/sort_priority.t .................... ok
-t/result/sort_priority_cascade.t ............ ok
-t/term.t .................................... ok
-t/test/test_doc.t ........................... ok
-t/util/bucket_sort.t ........................ ok
-t/util/buffer.t ............................. ok
-t/util/priority_sort.t ...................... ok
-t/util/priority_sort_per_doc.t .............. ok
-t/util/ring_buffer.t ........................ ok
-t/util/sort_buffer.t ........................ ok
-t/util/sorted_list.t ........................ ok
-t/util/string.t ............................. ok
-All tests successful.
-
-Test Summary Report
--------------------
-t/koral/boolean_token.t (Wstat: 0 Tests: 8 Failed: 0)
- TODO passed: 6, 8
-t/koral/query.t (Wstat: 0 Tests: 38 Failed: 0)
- TODO passed: 38
-t/koral/sequential.t (Wstat: 0 Tests: 100 Failed: 0)
- TODO passed: 52-53
-t/plan/length.t (Wstat: 0 Tests: 58 Failed: 0)
- TODO passed: 40-41, 43-44, 47-49, 51-52, 54-57
-Files=91, Tests=2629, 15 wallclock secs ( 0.76 usr 0.10 sys + 13.89 cusr 1.04 csys = 15.79 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=36, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.19 cusr 0.02 csys = 0.25 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? # Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=36, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.22 cusr 0.01 csys = 0.26 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. "my" variable @fields masks earlier declaration in same scope at t/index/fields.t line 96.
-t/index/fields.t .. 1/? Can't locate object method "value" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 49.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 6 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.20 cusr 0.02 csys = 0.26 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Can't locate object method "value" via package "Krawfish::Koral::Document::FieldStore" at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Doc.pm line 49.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 6.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 6 subtests passed
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 6 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.21 cusr 0.00 csys = 0.25 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Argument "http://korap.ids-mannheim.de/ins..." isn't numeric in numeric eq (==) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Pointer.pm line 188.
-# Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=39, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Argument "http://korap.ids-mannheim.de/ins..." isn't numeric in numeric eq (==) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Pointer.pm line 193.
-# Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=39, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.19 cusr 0.01 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Argument "http://korap.ids-mannheim.de/ins..." isn't numeric in numeric eq (==) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Pointer.pm line 194.
-# Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=39, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? # Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=39, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? # Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=39, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.22 cusr 0.01 csys = 0.26 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-
-# Failed test 'Term'
-# at t/index/fields.t line 34.
-# got: '+docID:'
-# expected: '+docID:doc-3'
-
-# Failed test 'Term'
-# at t/index/fields.t line 36.
-# got: '+license:'
-# expected: '+license:closed'
-
-# Failed test 'Term'
-# at t/index/fields.t line 38.
-# got: '+textLength:'
-# expected: '+textLength:8'
-
-# Failed test 'Term'
-# at t/index/fields.t line 49.
-# got: '+license:'
-# expected: '+license:closed'
-
-# Failed test 'Term'
-# at t/index/fields.t line 51.
-# got: '+textLength:'
-# expected: '+textLength:8'
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-
-# Failed test 'Size'
-# at t/index/fields.t line 82.
-# got: undef
-# expected: '2'
-
-# Failed test 'Size'
-# at t/index/fields.t line 90.
-# got: undef
-# expected: '17'
-# Checked for multivalued fields
-# Looks like you failed 7 tests of 39.
-t/index/fields.t .. Dubious, test returned 7 (wstat 1792, 0x700)
-Failed 7/39 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 1792 Tests: 39 Failed: 7)
- Failed tests: 12, 14, 16, 22, 24, 33, 36
- Non-zero exit status: 7
-Files=1, Tests=39, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.20 cusr 0.02 csys = 0.27 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-
-# Failed test 'Term'
-# at t/index/fields.t line 34.
-# got: '+docID:'
-# expected: '+docID:doc-3'
-
-# Failed test 'Term'
-# at t/index/fields.t line 36.
-# got: '+license:'
-# expected: '+license:closed'
-
-# Failed test 'Term'
-# at t/index/fields.t line 38.
-# got: '+textLength:'
-# expected: '+textLength:8'
-
-# Failed test 'Term'
-# at t/index/fields.t line 49.
-# got: '+license:'
-# expected: '+license:closed'
-
-# Failed test 'Term'
-# at t/index/fields.t line 51.
-# got: '+textLength:'
-# expected: '+textLength:8'
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 78.
-Use of uninitialized value $str in substitution (s///) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 51.
-Use of uninitialized value $str in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Util/String.pm line 52.
-
-# Failed test 'Size'
-# at t/index/fields.t line 82.
-# got: undef
-# expected: '2'
-
-# Failed test 'Size'
-# at t/index/fields.t line 90.
-# got: undef
-# expected: '17'
-# Checked for multivalued fields
-# Looks like you failed 7 tests of 39.
-t/index/fields.t .. Dubious, test returned 7 (wstat 1792, 0x700)
-Failed 7/39 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 1792 Tests: 39 Failed: 7)
- Failed tests: 12, 14, 16, 22, 24, 33, 36
- Non-zero exit status: 7
-Files=1, Tests=39, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.02 csys = 0.23 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.02 csys = 0.23 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldString.pm line 38.
-Use of uninitialized value in concatenation (.) or string at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Koral/Document/FieldInt.pm line 42.
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=6, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.18 cusr 0.02 csys = 0.22 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=6, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.21 cusr 0.00 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? # Checked for multivalued fields
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=39, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.20 cusr 0.02 csys = 0.26 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/?
-# Failed test 'use Krawfish::Index;'
-# at t/index/fields.t line 10.
-# Tried to use 'Krawfish::Index'.
-# Error: Can't locate Krawfish/Koral/Document/Fieldstore.pm in @INC (you may need to install the Krawfish::Koral::Document::Fieldstore module) (@INC contains: /home/ndiewald/Repositories/korap-git/Krawfish/lib /home/ndiewald/.perlbrew/libs/perl-5.24.0@akron/lib/perl5/x86_64-linux /home/ndiewald/.perlbrew/libs/perl-5.24.0@akron/lib/perl5 /home/ndiewald/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0/x86_64-linux /home/ndiewald/perl5/perlbrew/perls/perl-5.24.0/lib/site_perl/5.24.0 /home/ndiewald/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/x86_64-linux /home/ndiewald/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0 .) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Pointer.pm line 3.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Pointer.pm line 3.
-# Compilation failed in require at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields.pm line 3.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields.pm line 3.
-# Compilation failed in require at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 2.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 2.
-# Compilation failed in require at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index.pm line 4.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index.pm line 4.
-# Compilation failed in require at t/index/fields.t line 10.
-# BEGIN failed--compilation aborted at t/index/fields.t line 10.
-Can't locate object method "new" via package "Krawfish::Index" at t/index/fields.t line 18.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-Failed 1/4 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 4 Failed: 1)
- Failed test: 3
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=4, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.19 cusr 0.01 csys = 0.23 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 128.
-Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 131.
-Not an ARRAY reference at t/index/fields.t line 33.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 10.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 10 subtests passed
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 10 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=10, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 128.
-Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 131.
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=7, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 128.
-Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 131.
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=7, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.02 csys = 0.23 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 128.
-Use of uninitialized value $term_id in hash element at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 131.
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=7, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.01 csys = 0.22 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=7, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.02 csys = 0.23 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Not an ARRAY reference at t/index/fields.t line 32.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 10.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 10 subtests passed
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 10 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=10, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.22 cusr 0.00 csys = 0.25 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=17, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.01 csys = 0.22 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/? Can't call method "term_id" on unblessed reference at t/index/fields.t line 46.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 20.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-All 20 subtests passed
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 20 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=20, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.19 cusr 0.03 csys = 0.26 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/?
-# Failed test 'Field id'
-# at t/index/fields.t line 38.
-Can't call method "term_id" on unblessed reference at t/index/fields.t line 46.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 20.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-Failed 1/20 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 20 Failed: 1)
- Failed test: 17
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=20, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.23 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/?
-# Failed test 'use Krawfish::Index;'
-# at t/index/fields.t line 10.
-# Tried to use 'Krawfish::Index'.
-# Error: Global symbol "$field" requires explicit package name (did you forget to declare "my $field"?) at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields/Pointer.pm line 193.
-# Compilation failed in require at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields.pm line 3.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Fields.pm line 3.
-# Compilation failed in require at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 2.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index/Segment.pm line 2.
-# Compilation failed in require at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index.pm line 4.
-# BEGIN failed--compilation aborted at /home/ndiewald/Repositories/korap-git/Krawfish/lib/Krawfish/Index.pm line 4.
-# Compilation failed in require at t/index/fields.t line 10.
-# BEGIN failed--compilation aborted at t/index/fields.t line 10.
-Can't locate object method "new" via package "Krawfish::Index" at t/index/fields.t line 18.
-# Tests were run but no plan was declared and done_testing() was not seen.
-# Looks like your test exited with 255 just after 4.
-t/index/fields.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
-Failed 1/4 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 4 Failed: 1)
- Failed test: 3
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.18 cusr 0.01 csys = 0.22 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/?
-# Failed test 'Field id'
-# at t/index/fields.t line 38.
-# Looks like you failed 1 test of 25.
-t/index/fields.t .. Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/25 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 256 Tests: 25 Failed: 1)
- Failed test: 17
- Non-zero exit status: 1
-Files=1, Tests=25, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.00 csys = 0.23 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. 1/?
-# Failed test 'Field id'
-# at t/index/fields.t line 38.
-# Looks like you failed 1 test of 20.
-t/index/fields.t .. Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/20 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 256 Tests: 20 Failed: 1)
- Failed test: 17
- Non-zero exit status: 1
-Files=1, Tests=20, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.21 cusr 0.00 csys = 0.24 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
-t/index/fields.t .. ok
-All tests successful.
-Files=1, Tests=10, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.19 cusr 0.02 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x38ae7f8),10,12,span,11,ARRAY(0x38b0588),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x38b0720),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x38b08f8),19,20,token,18,ARRAY(0x38b09a0),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x38b0a90),10,12,span,11,ARRAY(0x38b0b68),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x38b0c70),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x38b0d90),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-1..10
-ok
-All tests successful.
-Files=1, Tests=10, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x2cbdff0),10,12,span,11,ARRAY(0x2cbfc98),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x2cbfe30),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x2cc0008),19,20,token,18,ARRAY(0x2cc00b0),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x2cc01a0),10,12,span,11,ARRAY(0x2cc0278),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x2cc0380),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x2cc04a0),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
-1..11
-ok
-All tests successful.
-Files=1, Tests=11, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.20 cusr 0.02 csys = 0.26 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x39111b0),10,12,span,11,ARRAY(0x3913528),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x39136c0),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x3913898),19,20,token,18,ARRAY(0x3913940),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x3913a30),10,12,span,11,ARRAY(0x3913b08),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x3913c10),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x3913d30),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
-1..15
- > dict | Try to retrieve term id 6
-Undefined subroutine &main::__END__is called at t/index/fields.t line 41.
-# Looks like your test exited with 255 just after 15.
-Dubious, test returned 255 (wstat 65280, 0xff00)
-All 15 subtests passed
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 15 Failed: 0)
- Non-zero exit status: 255
-Files=1, Tests=15, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.25 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x303d418),10,12,span,11,ARRAY(0x303f7a8),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x303f968),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x303fb18),19,20,token,18,ARRAY(0x303fbc0),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x303fcb0),10,12,span,11,ARRAY(0x303fd88),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x303fe90),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x303ffb0),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
-1..15
-ok
-All tests successful.
-Files=1, Tests=15, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.18 cusr 0.02 csys = 0.24 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x1e5d350),10,12,span,11,ARRAY(0x1e5f720),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x1e5f8b8),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x1e5fa68),19,20,token,18,ARRAY(0x1e5fb10),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x1e5fc00),10,12,span,11,ARRAY(0x1e5fcd8),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x1e5fde0),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x1e5ff00),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
- > dict | Try to retrieve term id 6
-ok 16 - Term
-not ok 17 - Field id
-1..17
-
-# Failed test 'Field id'
-# at t/index/fields.t line 40.
-# Looks like you failed 1 test of 17.
-Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/17 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 256 Tests: 17 Failed: 1)
- Failed test: 17
- Non-zero exit status: 1
-Files=1, Tests=17, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.20 cusr 0.01 csys = 0.25 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t .. Too many arguments for Test::More::ok at t/index/fields.t line 42, near "'No field id')"
-Execution of t/index/fields.t aborted due to compilation errors.
-Dubious, test returned 255 (wstat 65280, 0xff00)
-No subtests run
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 65280 Tests: 0 Failed: 0)
- Non-zero exit status: 255
- Parse errors: No plan found in TAP output
-Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.19 cusr 0.00 csys = 0.23 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x2f04948),10,12,span,11,ARRAY(0x2f05978),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x2f05b10),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x2f05cc0),19,20,token,18,ARRAY(0x2f05d68),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x2f05e58),10,12,span,11,ARRAY(0x2f05f30),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x2f06038),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x2f06158),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
- > dict | Try to retrieve term id 6
-ok 16 - Term
-ok 17 - Field id
-ok 18 - No field id
-not ok 19 - No field id
-1..19
-
-# Failed test 'No field id'
-# at t/index/fields.t line 42.
-# got: ''
-# expected: ''
-# Looks like you failed 1 test of 19.
-Dubious, test returned 1 (wstat 256, 0x100)
-Failed 1/19 subtests
-
-Test Summary Report
--------------------
-t/index/fields.t (Wstat: 256 Tests: 19 Failed: 1)
- Failed test: 19
- Non-zero exit status: 1
-Files=1, Tests=19, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.29 cusr 0.01 csys = 0.33 CPU)
-Result: FAIL
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x21f8dc0),10,12,span,11,ARRAY(0x21faad8),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x21fac70),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x21fae20),19,20,token,18,ARRAY(0x21faec8),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x21fafb8),10,12,span,11,ARRAY(0x21fb090),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x21fb198),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x21fb2b8),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
- > dict | Try to retrieve term id 6
-ok 16 - Term
-ok 17 - Field id
-ok 18 - No field id
-ok 19 - No field id
-1..19
-ok
-All tests successful.
-Files=1, Tests=19, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.23 cusr 0.02 csys = 0.29 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x1b92640),10,12,span,11,ARRAY(0x1b949e8),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x1b94b80),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x1b94d58),19,20,token,18,ARRAY(0x1b94e00),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x1b94ef0),10,12,span,11,ARRAY(0x1b94fc8),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x1b950d0),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x1b951f0),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
- > dict | Try to retrieve term id 6
-ok 16 - Term
-ok 17 - Field id
-ok 18 - No field id
-ok 19 - No field id
-ok 20 - No more fields
-ok 21 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 22 - Skip
- > f_point | Get fields 3,5,17
- > f_point | Found field_id 4for 3 at 0
- > f_point | Found field_id 6for 5 at 1
-ok 23 - Get fields
-ok 24 - Field id
- > dict | Try to retrieve term id 4
-ok 25 - Term
-ok 26 - Field id
- > dict | Try to retrieve term id 6
-ok 27 - Term
-ok 28 - Field id
-ok 29 - Create new index
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-2
- > doc | Surface form is aa
- > doc | Store subtoken: 1=3-5
- > doc | Surface form is bb
- > dict | Try to retrieve term !id
- > dict | Added term !id
- > dict | Added term +id:7
- > dict | Try to retrieve term !size
- > dict | Added term !size
- > dict | Added term +size:2
- > dict | Try to retrieve term !uri
- > dict | Added term !uri
- > dict | Try to retrieve term *aa
- > dict | Added term *aa
- > dict | Try to retrieve term aa
- > dict | Added term aa
- > dict | Try to retrieve term *bb
- > dict | Added term *bb
- > dict | Try to retrieve term bb
- > dict | Added term bb
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4(2)
- >fields_doc | Add 5='https://korap.ids-mannheim.de/instance/example7'
- >fields_doc | The fields are 1,string,2,3,int,4,2,5,store,https://korap.ids-mannheim.de/instance/example7,EOF
- > fwd_doc | Set start marker at 1 from ? to 10
- > fwd_doc | Subtoken is 0,10,6,,0,0,token,7,ARRAY(0x1b935c8),EOA
- > fwd_doc | Set start marker at 11 from ? to 20
- > fwd_doc | Subtoken is 0,20,8, ,0,0,token,9,ARRAY(0x1b93460),EOA
-ok 30 - Add example document
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-2
- > doc | Surface form is aa
- > doc | Store subtoken: 1=3-5
- > doc | Surface form is cc
- > doc | Store subtoken: 2=6-8
- > doc | Surface form is cc
- > dict | Try to retrieve term !id
- > dict | Try to retrieve term +id:3
- > dict | Added term +id:3
- > dict | Try to retrieve term !size
- > dict | Try to retrieve term +size:3
- > dict | Added term +size:3
- > dict | Try to retrieve term !uri
- > dict | Try to retrieve term *aa
- > dict | Try to retrieve term aa
- > dict | Try to retrieve term *cc
- > dict | Added term *cc
- > dict | Try to retrieve term cc
- > dict | Added term cc
- > dict | Try to retrieve term *cc
- > dict | Try to retrieve term cc
- >fields_doc | Add 1=10
- >fields_doc | Add 3=11(3)
- >fields_doc | Add 5='https://korap.ids-mannheim.de/instance/example3'
- >fields_doc | The fields are 1,string,10,3,int,11,3,5,store,https://korap.ids-mannheim.de/instance/example3,EOF
- > fwd_doc | Set start marker at 1 from ? to 10
- > fwd_doc | Subtoken is 0,10,6,,0,0,token,7,ARRAY(0x1b93778),EOA
- > fwd_doc | Set start marker at 11 from ? to 20
- > fwd_doc | Subtoken is 0,20,12, ,0,0,token,13,ARRAY(0x1b92fc8),EOA
- > fwd_doc | Set start marker at 21 from ? to 30
- > fwd_doc | Subtoken is 10,30,12, ,0,0,token,13,ARRAY(0x1b96100),EOA
-ok 31 - Add example document
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-2
- > doc | Surface form is aa
- > doc | Store subtoken: 1=3-5
- > doc | Surface form is bb
- > dict | Try to retrieve term !id
- > dict | Try to retrieve term +id:1
- > dict | Added term +id:1
- > dict | Try to retrieve term !size
- > dict | Try to retrieve term +size:17
- > dict | Added term +size:17
- > dict | Try to retrieve term !uri
- > dict | Try to retrieve term *aa
- > dict | Try to retrieve term aa
- > dict | Try to retrieve term *bb
- > dict | Try to retrieve term bb
- >fields_doc | Add 1=14
- >fields_doc | Add 3=15(17)
- >fields_doc | Add 5='https://korap.ids-mannheim.de/instance/example1'
- >fields_doc | The fields are 1,string,14,3,int,15,17,5,store,https://korap.ids-mannheim.de/instance/example1,EOF
- > fwd_doc | Set start marker at 1 from ? to 10
- > fwd_doc | Subtoken is 0,10,6,,0,0,token,7,ARRAY(0x1b95580),EOA
- > fwd_doc | Set start marker at 11 from ? to 20
- > fwd_doc | Subtoken is 0,20,8, ,0,0,token,9,ARRAY(0x1b95418),EOA
-ok 32 - Add example document
-ok 33 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 34 - Skip
- > dict | Try to retrieve term !size
- > f_point | Found value for 3 at 0
- > f_point | There are no more fields to fetch at 1
-ok 35 - Get field value
-ok 36 - Size
- > f_point | Get document for id 2
- > fields | Get document for id 2
-ok 37 - Skip
- > dict | Try to retrieve term !size
- > f_point | Found value for 3 at 0
- > f_point | There are no more fields to fetch at 1
-ok 38 - Get field value
-ok 39 - Size
-ok 40 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 41 - Skip
-ok 42 - Get fields
-1..42
-# Checked for multivalued fields
-ok
-All tests successful.
-Files=1, Tests=42, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.18 cusr 0.02 csys = 0.25 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lrv t/index/fields.t
-t/index/fields.t ..
-ok 1 - use Krawfish::Koral::Document;
-ok 2 - use Krawfish::Koral;
-ok 3 - use Krawfish::Index;
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-3
- > doc | Surface form is Der
- > doc | Store subtoken: 1=4-7
- > doc | Surface form is Bau
- > doc | Store subtoken: 2=8-14
- > doc | Surface form is Leiter
- > doc | Store subtoken: 3=15-19
- > doc | Surface form is trug
- > doc | Store subtoken: 4=20-25
- > doc | Surface form is einen
- > doc | Store subtoken: 5=26-34
- > doc | Surface form is lustigen
- > doc | Store subtoken: 6=35-38
- > doc | Surface form is Bau
- > doc | Store subtoken: 7=39-43
- > doc | Surface form is Helm
-ok 4 - Load document
-ok 5 - Create new index
- > dict | Try to retrieve term !docID
- > dict | Added term !docID
- > dict | Added term +docID:doc-3
- > dict | Try to retrieve term !license
- > dict | Added term !license
- > dict | Added term +license:closed
- > dict | Try to retrieve term !textLength
- > dict | Added term !textLength
- > dict | Added term +textLength:8
- > dict | Try to retrieve term !URI
- > dict | Added term !URI
- > dict | Try to retrieve term *Der
- > dict | Added term *Der
- > dict | Try to retrieve term akron=Der
- > dict | Added term akron=Der
- > dict | Try to retrieve term ^akron
- > dict | Added term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Added term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Added term °c
- > dict | Try to retrieve term *Bau
- > dict | Added term *Bau
- > dict | Try to retrieve term akron=Bau-Leiter
- > dict | Added term akron=Bau-Leiter
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Leiter
- > dict | Added term *Leiter
- > dict | Try to retrieve term *trug
- > dict | Added term *trug
- > dict | Try to retrieve term akron=trug
- > dict | Added term akron=trug
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term opennlp/p=V
- > dict | Added term opennlp/p=V
- > dict | Try to retrieve term ^opennlp
- > dict | Added term ^opennlp
- > dict | Try to retrieve term °p
- > dict | Added term °p
- > dict | Try to retrieve term *einen
- > dict | Added term *einen
- > dict | Try to retrieve term akron=einen
- > dict | Added term akron=einen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term <>akron/c=NP
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term °c
- > dict | Try to retrieve term *lustigen
- > dict | Added term *lustigen
- > dict | Try to retrieve term akron=lustigen
- > dict | Added term akron=lustigen
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Bau
- > dict | Try to retrieve term akron=Bau-Helm
- > dict | Added term akron=Bau-Helm
- > dict | Try to retrieve term ^akron
- > dict | Try to retrieve term *Helm
- > dict | Added term *Helm
-ok 6 - Translate to term identifiers
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4
- >fields_doc | Add 5=6(8)
- >fields_doc | Add 7='http://korap.ids-mannheim.de/instance/example'
- >fields_doc | The fields are 1,string,2,3,string,4,5,int,6,8,7,store,http://korap.ids-mannheim.de/instance/example,EOF
- > fwd_doc | Set start marker at 1 from ? to 15
- > fwd_doc | Subtoken is 0,15,8,,10,0,token,9,ARRAY(0x37c9b10),10,12,span,11,ARRAY(0x37cbeb8),EOA
- > fwd_doc | Set start marker at 16 from ? to 25
- > fwd_doc | Subtoken is 0,25,13, ,10,0,token,14,ARRAY(0x37cc050),EOA
- > fwd_doc | Set start marker at 26 from ? to 30
- > fwd_doc | Subtoken is 15,30,15,-,EOA
- > fwd_doc | Set start marker at 31 from ? to 45
- > fwd_doc | Subtoken is 25,45,16, ,10,0,token,17,ARRAY(0x37cc228),19,20,token,18,ARRAY(0x37cc2d0),EOA
- > fwd_doc | Set start marker at 46 from ? to 60
- > fwd_doc | Subtoken is 30,60,21, ,10,0,token,22,ARRAY(0x37cc3c0),10,12,span,11,ARRAY(0x37cc498),EOA
- > fwd_doc | Set start marker at 61 from ? to 70
- > fwd_doc | Subtoken is 45,70,23, ,10,0,token,24,ARRAY(0x37cc5a0),EOA
- > fwd_doc | Set start marker at 71 from ? to 80
- > fwd_doc | Subtoken is 60,80,13, ,10,0,token,25,ARRAY(0x37cc6c0),EOA
- > fwd_doc | Set start marker at 81 from ? to 85
- > fwd_doc | Subtoken is 70,85,26,-,EOA
- > fwd_doc | Set start marker at 86 from ? to 90
- > fwd_doc | Subtoken is 80,90,?,.,EOA
-ok 7 - Doc id well added
-ok 8 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 9 - Skip
-ok 10 - Get fields
-ok 11 - Field id
- > dict | Try to retrieve term id 2
-ok 12 - Term
-ok 13 - Field id
- > dict | Try to retrieve term id 4
-ok 14 - Term
-ok 15 - Field id
- > dict | Try to retrieve term id 6
-ok 16 - Term
-ok 17 - Field id
-ok 18 - No field id
-ok 19 - No field id
-ok 20 - No more fields
-ok 21 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 22 - Skip
- > f_point | Get fields 3,5,17
- > f_point | Found field_id 4for 3 at 0
- > f_point | Found field_id 6for 5 at 1
-ok 23 - Get fields
-ok 24 - Field id
- > dict | Try to retrieve term id 4
-ok 25 - Term
-ok 26 - Field id
- > dict | Try to retrieve term id 6
-ok 27 - Term
-ok 28 - Field id
-ok 29 - Create new index
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-2
- > doc | Surface form is aa
- > doc | Store subtoken: 1=3-5
- > doc | Surface form is bb
- > dict | Try to retrieve term !id
- > dict | Added term !id
- > dict | Added term +id:7
- > dict | Try to retrieve term !size
- > dict | Added term !size
- > dict | Added term +size:2
- > dict | Try to retrieve term !uri
- > dict | Added term !uri
- > dict | Try to retrieve term *aa
- > dict | Added term *aa
- > dict | Try to retrieve term aa
- > dict | Added term aa
- > dict | Try to retrieve term *bb
- > dict | Added term *bb
- > dict | Try to retrieve term bb
- > dict | Added term bb
- >fields_doc | Add 1=2
- >fields_doc | Add 3=4(2)
- >fields_doc | Add 5='https://korap.ids-mannheim.de/instance/example7'
- >fields_doc | The fields are 1,string,2,3,int,4,2,5,store,https://korap.ids-mannheim.de/instance/example7,EOF
- > fwd_doc | Set start marker at 1 from ? to 10
- > fwd_doc | Subtoken is 0,10,6,,0,0,token,7,ARRAY(0x37cce10),EOA
- > fwd_doc | Set start marker at 11 from ? to 20
- > fwd_doc | Subtoken is 0,20,8, ,0,0,token,9,ARRAY(0x37cc2d0),EOA
-ok 30 - Add example document
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-2
- > doc | Surface form is aa
- > doc | Store subtoken: 1=3-5
- > doc | Surface form is cc
- > doc | Store subtoken: 2=6-8
- > doc | Surface form is cc
- > dict | Try to retrieve term !id
- > dict | Try to retrieve term +id:3
- > dict | Added term +id:3
- > dict | Try to retrieve term !size
- > dict | Try to retrieve term +size:3
- > dict | Added term +size:3
- > dict | Try to retrieve term !uri
- > dict | Try to retrieve term *aa
- > dict | Try to retrieve term aa
- > dict | Try to retrieve term *cc
- > dict | Added term *cc
- > dict | Try to retrieve term cc
- > dict | Added term cc
- > dict | Try to retrieve term *cc
- > dict | Try to retrieve term cc
- >fields_doc | Add 1=10
- >fields_doc | Add 3=11(3)
- >fields_doc | Add 5='https://korap.ids-mannheim.de/instance/example3'
- >fields_doc | The fields are 1,string,10,3,int,11,3,5,store,https://korap.ids-mannheim.de/instance/example3,EOF
- > fwd_doc | Set start marker at 1 from ? to 10
- > fwd_doc | Subtoken is 0,10,6,,0,0,token,7,ARRAY(0x37cce88),EOA
- > fwd_doc | Set start marker at 11 from ? to 20
- > fwd_doc | Subtoken is 0,20,12, ,0,0,token,13,ARRAY(0x37c99f0),EOA
- > fwd_doc | Set start marker at 21 from ? to 30
- > fwd_doc | Subtoken is 10,30,12, ,0,0,token,13,ARRAY(0x37cc228),EOA
-ok 31 - Add example document
- > doc | Parse subtokens
- > doc | Store subtoken: 0=0-2
- > doc | Surface form is aa
- > doc | Store subtoken: 1=3-5
- > doc | Surface form is bb
- > dict | Try to retrieve term !id
- > dict | Try to retrieve term +id:1
- > dict | Added term +id:1
- > dict | Try to retrieve term !size
- > dict | Try to retrieve term +size:17
- > dict | Added term +size:17
- > dict | Try to retrieve term !uri
- > dict | Try to retrieve term *aa
- > dict | Try to retrieve term aa
- > dict | Try to retrieve term *bb
- > dict | Try to retrieve term bb
- >fields_doc | Add 1=14
- >fields_doc | Add 3=15(17)
- >fields_doc | Add 5='https://korap.ids-mannheim.de/instance/example1'
- >fields_doc | The fields are 1,string,14,3,int,15,17,5,store,https://korap.ids-mannheim.de/instance/example1,EOF
- > fwd_doc | Set start marker at 1 from ? to 10
- > fwd_doc | Subtoken is 0,10,6,,0,0,token,7,ARRAY(0x37cdd80),EOA
- > fwd_doc | Set start marker at 11 from ? to 20
- > fwd_doc | Subtoken is 0,20,8, ,0,0,token,9,ARRAY(0x37cd4c8),EOA
-ok 32 - Add example document
-ok 33 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 34 - Skip
- > dict | Try to retrieve term !size
- > f_point | Found value for 3 at 0
- > f_point | There are no more fields to fetch at 1
-ok 35 - Get field value
-ok 36 - Size
- > f_point | Get document for id 2
- > fields | Get document for id 2
-ok 37 - Skip
- > dict | Try to retrieve term !size
- > f_point | Found value for 3 at 0
- > f_point | There are no more fields to fetch at 1
-ok 38 - Get field value
-ok 39 - Size
-ok 40 - Get pointer
- > f_point | Get document for id 0
- > fields | Get document for id 0
-ok 41 - Skip
-ok 42 - Get fields
-1..42
-# Checked for multivalued fields
-ok
-All tests successful.
-Files=1, Tests=42, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.21 cusr 0.02 csys = 0.28 CPU)
-Result: PASS
-ndiewald@Akron-VI ~/Repositories/korap-git/Krawfish $ prove -lr t/index/fields.t
\ No newline at end of file
diff --git a/Makefile.PL b/Makefile.PL
index 1fb7b36..4287632 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -15,7 +15,8 @@
PREREQ_PM => {
'Mojolicious' => '7.23',
'Scalar::Util' => 0,
- 'Data::BitStream' => 0
+ 'Data::BitStream' => 0,
+ 'Role::Tiny' => '2.000005'
},
test => {
TESTS => 't/*.t t/**/*.t'
diff --git a/lib/Krawfish/Corpus/Class.pm b/lib/Krawfish/Corpus/Class.pm
index 4a91fec..e0b3130 100644
--- a/lib/Krawfish/Corpus/Class.pm
+++ b/lib/Krawfish/Corpus/Class.pm
@@ -82,7 +82,9 @@
return;
};
-sub skip_to;
+sub skip_to {
+ ...
+};
sub to_string {
my $self = shift;
diff --git a/lib/Krawfish/Corpus/DocVector.pm b/lib/Krawfish/Corpus/DocVector.pm
index dd00054..fd23209 100644
--- a/lib/Krawfish/Corpus/DocVector.pm
+++ b/lib/Krawfish/Corpus/DocVector.pm
@@ -23,14 +23,24 @@
# in the dictionary and fetching the relevant doc_ids per
# segment. While doing that, the doc_ids are sorted and
# resulting in an index vector.
-sub _init;
+sub _init {
+ ...
+};
-sub next;
+sub next {
+ ...
+};
-sub current;
+sub current {
+ ...
+};
-sub max_freq;
+sub max_freq {
+ ...
+};
-sub to_string;
+sub to_string {
+ ...
+};
1;
diff --git a/lib/Krawfish/Corpus/OrWithFlags.pm b/lib/Krawfish/Corpus/OrWithFlags.pm
index bf905aa..a60b877 100644
--- a/lib/Krawfish/Corpus/OrWithFlags.pm
+++ b/lib/Krawfish/Corpus/OrWithFlags.pm
@@ -35,7 +35,9 @@
...;
};
-sub max_freq;
+sub max_freq {
+ ...
+};
1;
diff --git a/lib/Krawfish/Index/Fields/Doc.pm b/lib/Krawfish/Index/Fields/Doc.pm
index e6d0d37..71e9ddb 100644
--- a/lib/Krawfish/Index/Fields/Doc.pm
+++ b/lib/Krawfish/Index/Fields/Doc.pm
@@ -57,6 +57,8 @@
};
-sub to_stream;
+sub to_stream {
+ ...
+};
1;
diff --git a/lib/Krawfish/Index/Fields/Pointer.pm b/lib/Krawfish/Index/Fields/Pointer.pm
index 5ac97b1..a3b5f7f 100644
--- a/lib/Krawfish/Index/Fields/Pointer.pm
+++ b/lib/Krawfish/Index/Fields/Pointer.pm
@@ -48,9 +48,13 @@
};
-sub next_doc;
+sub next_doc {
+ ...
+};
-sub close;
+sub close {
+ ...
+};
# Skip doc moves the pointer forward in the stream. Although currently
diff --git a/lib/Krawfish/Index/Store/Dynamic/Dictionary.pm b/lib/Krawfish/Index/Store/Dynamic/Dictionary.pm
index 208c48c..d0cfca5 100644
--- a/lib/Krawfish/Index/Store/Dynamic/Dictionary.pm
+++ b/lib/Krawfish/Index/Store/Dynamic/Dictionary.pm
@@ -146,7 +146,9 @@
# This will return an array of term ids,
# in case the term is stored as an alias.
# Otherwise the array has only one item.
-sub search_alias;
+sub search_alias {
+ ...
+};
diff --git a/lib/Krawfish/Index/Store/V1/Dictionary.pm b/lib/Krawfish/Index/Store/V1/Dictionary.pm
index 764e61a..b9f449c 100644
--- a/lib/Krawfish/Index/Store/V1/Dictionary.pm
+++ b/lib/Krawfish/Index/Store/V1/Dictionary.pm
@@ -141,24 +141,38 @@
return;
};
-sub search_case_insensitive;
+sub search_case_insensitive {
+ ...
+};
-sub search_diacritic_insensitive;
+sub search_diacritic_insensitive {
+ ...
+};
-sub search_approximative;
+sub search_approximative {
+ ...
+};
-sub search_regex;
+sub search_regex {
+ ...
+};
# Merge static tree with dynamic tree
-sub merge;
+sub merge {
+ ...
+};
# Return iterator of term ids
# TODO:
# Be aware, this is only in collation
# order of the insertion, that may not be very helpful.
-sub in_prefix_order;
+sub in_prefix_order {
+ ...
+};
-sub in_suffix_order;
+sub in_suffix_order {
+ ...
+};
@@ -166,11 +180,15 @@
# Read with header
# This may first be done in the parent dictionary module
# and then be delegated to the right version
-sub from_file;
+sub from_file {
+ ...
+};
# write a header
-sub to_file;
+sub to_file {
+ ...
+};
# Stringification
diff --git a/lib/Krawfish/Index/Store/V1/ForwardIndex.pm b/lib/Krawfish/Index/Store/V1/ForwardIndex.pm
index fef6207..a579939 100644
--- a/lib/Krawfish/Index/Store/V1/ForwardIndex.pm
+++ b/lib/Krawfish/Index/Store/V1/ForwardIndex.pm
@@ -59,7 +59,9 @@
bless \$stream, $class;
};
-sub pos;
+sub pos {
+ ...
+};
# Add term by id
sub add_term_id {
diff --git a/lib/Krawfish/Index/Store/V1/ForwardPointer.pm b/lib/Krawfish/Index/Store/V1/ForwardPointer.pm
index 81b1f66..f5170d2 100644
--- a/lib/Krawfish/Index/Store/V1/ForwardPointer.pm
+++ b/lib/Krawfish/Index/Store/V1/ForwardPointer.pm
@@ -31,8 +31,12 @@
};
-sub next {}
+sub next {
+ ...
+}
-sub previous {};
+sub previous {
+ ...
+};
1;
diff --git a/lib/Krawfish/Index/Store/V1/Stream.pm b/lib/Krawfish/Index/Store/V1/Stream.pm
index 978f7a1..4e91e1e 100644
--- a/lib/Krawfish/Index/Store/V1/Stream.pm
+++ b/lib/Krawfish/Index/Store/V1/Stream.pm
@@ -26,9 +26,13 @@
# Load first X bytes from file
};
-sub skip_doc;
+sub skip_doc {
+ ...
+};
-sub next;
+sub next {
+ ...
+};
# This appends a byte sequence to a stream
# and updates the skiplist
diff --git a/lib/Krawfish/Index/Stream.pm b/lib/Krawfish/Index/Stream.pm
index 88b02ed..8ea5446 100644
--- a/lib/Krawfish/Index/Stream.pm
+++ b/lib/Krawfish/Index/Stream.pm
@@ -31,12 +31,16 @@
# Override
# This will describe the compression scheme
-sub add;
+sub add {
+ ...
+};
# Override
# This will describe the compression scheme
-sub get;
+sub get {
+ ...
+};
sub freq {
diff --git a/lib/Krawfish/Index/Stream/Finger.pm b/lib/Krawfish/Index/Stream/Finger.pm
index 0cabf85..08d1a5d 100644
--- a/lib/Krawfish/Index/Stream/Finger.pm
+++ b/lib/Krawfish/Index/Stream/Finger.pm
@@ -24,11 +24,17 @@
};
-sub skip_to;
+sub skip_to {
+ ...
+};
-sub next_pos;
+sub next_pos {
+ ...
+};
-sub next_doc;
+sub next_doc {
+ ...
+};
# Get the current posting object
sub current {
diff --git a/lib/Krawfish/Index/Tokens.pm b/lib/Krawfish/Index/Tokens.pm
index c67193d..9b3add9 100644
--- a/lib/Krawfish/Index/Tokens.pm
+++ b/lib/Krawfish/Index/Tokens.pm
@@ -64,9 +64,13 @@
...
};
-sub freq_in_doc;
+sub freq_in_doc {
+ ...
+};
-sub max_subtokens;
+sub max_subtokens {
+ ...
+};
1;
diff --git a/lib/Krawfish/Koral.pm b/lib/Krawfish/Koral.pm
index e029e35..3f1246c 100644
--- a/lib/Krawfish/Koral.pm
+++ b/lib/Krawfish/Koral.pm
@@ -1,18 +1,20 @@
package Krawfish::Koral;
-
-# TODO: Make this a role
-use parent 'Krawfish::Info';
+use Role::Tiny::With;
+use strict;
+use warnings;
+with 'Krawfish::Koral::Info';
+use Krawfish::Log;
+use Krawfish::Koral::Document;
use Krawfish::Koral::Query::Builder;
use Krawfish::Koral::Corpus::Builder;
use Krawfish::Koral::Meta::Builder;
use Krawfish::Koral::Meta;
-use Krawfish::Koral::Document;
-use Krawfish::Log;
-use strict;
-use warnings;
use constant DEBUG => 1;
+
+
+
# Parse a koral query and transform to an actual
# index query.
#
@@ -362,7 +364,9 @@
# Get KoralQuery with results
-sub to_result;
+sub to_result {
+ ...
+};
# TODO:
diff --git a/lib/Krawfish/Koral/Corpus.pm b/lib/Krawfish/Koral/Corpus.pm
index 22d0ecc..0bc1394 100644
--- a/lib/Krawfish/Koral/Corpus.pm
+++ b/lib/Krawfish/Koral/Corpus.pm
@@ -1,5 +1,6 @@
package Krawfish::Koral::Corpus;
-use parent 'Krawfish::Info';
+use Role::Tiny::With;
+with 'Krawfish::Koral::Info';
# TODO: Use the same parent as Koral::Query
use Krawfish::Koral::Corpus::Builder;
use Krawfish::Log;
@@ -63,7 +64,9 @@
# Optimize for an index
-sub optimize;
+sub optimize {
+ ...
+};
# Normalize to be on the root
@@ -186,11 +189,17 @@
# Query Application methods #
#############################
-sub from_koral;
+sub from_koral {
+ ...
+};
-sub to_koral_fragment;
+sub to_koral_fragment {
+ ...
+};
-sub to_string;
+sub to_string {
+ ...
+};
sub to_neutral {
$_[0]->to_string;
diff --git a/lib/Krawfish/Koral/Corpus/AndNot.pm b/lib/Krawfish/Koral/Corpus/AndNot.pm
index 4319f62..4c0a9a3 100644
--- a/lib/Krawfish/Koral/Corpus/AndNot.pm
+++ b/lib/Krawfish/Koral/Corpus/AndNot.pm
@@ -28,7 +28,9 @@
};
-sub toggle_negativity;
+sub toggle_negativity {
+ ...
+};
# Normalize queries
@@ -80,7 +82,9 @@
# Return koral - this is not necessary to be implemented,
# as "AndNot" is an intermediate query
-sub to_koral_fragment;
+sub to_koral_fragment {
+ ...
+};
# Stringification
diff --git a/lib/Krawfish/Koral/Corpus/Field.pm b/lib/Krawfish/Koral/Corpus/Field.pm
index a027b4f..403f771 100644
--- a/lib/Krawfish/Koral/Corpus/Field.pm
+++ b/lib/Krawfish/Koral/Corpus/Field.pm
@@ -108,7 +108,9 @@
return $self;
};
-sub can_toggle_negativity;
+sub can_toggle_negativity {
+ ...
+};
diff --git a/lib/Krawfish/Koral/Corpus/Static.pm b/lib/Krawfish/Koral/Corpus/Static.pm
index de100a3..b0cbab9 100644
--- a/lib/Krawfish/Koral/Corpus/Static.pm
+++ b/lib/Krawfish/Koral/Corpus/Static.pm
@@ -21,15 +21,21 @@
# Check if the ID is cached. In case it is cached,
# Return the cache query.
-sub memoize;
+sub memoize {
+ ...
+};
# Load the KoralQuery file, optimize the query,
# and wrap it in a cache for the next type it is consulted.
# The query is already normalized.
# This should only be loaded by some segments with updates.
-sub optimize;
+sub optimize {
+ ...
+};
-sub operands;
+sub operands {
+ ...
+};
1;
diff --git a/lib/Krawfish/Koral/Document/Annotation.pm b/lib/Krawfish/Koral/Document/Annotation.pm
index 98d6f4e..c024010 100644
--- a/lib/Krawfish/Koral/Document/Annotation.pm
+++ b/lib/Krawfish/Koral/Document/Annotation.pm
@@ -1,9 +1,8 @@
package Krawfish::Koral::Document::Annotation;
-use Krawfish::Koral::Query::Term;
use Krawfish::Util::String qw/squote/;
use warnings;
use strict;
-
+use Krawfish::Koral::Query::Term;
# Accepts a Krawfish::Koral::Query::Term object
sub new {
diff --git a/lib/Krawfish/Koral/Document/Subtoken.pm b/lib/Krawfish/Koral/Document/Subtoken.pm
index 9984d7a..00b9dc6 100644
--- a/lib/Krawfish/Koral/Document/Subtoken.pm
+++ b/lib/Krawfish/Koral/Document/Subtoken.pm
@@ -1,6 +1,6 @@
package Krawfish::Koral::Document::Subtoken;
-use Krawfish::Koral::Document::Annotation;
use Krawfish::Util::String qw/squote/;
+use Krawfish::Koral::Document::Annotation;
use warnings;
use strict;
diff --git a/lib/Krawfish/Info.pm b/lib/Krawfish/Koral/Info.pm
similarity index 96%
rename from lib/Krawfish/Info.pm
rename to lib/Krawfish/Koral/Info.pm
index 94629bf..882ef11 100644
--- a/lib/Krawfish/Info.pm
+++ b/lib/Krawfish/Koral/Info.pm
@@ -1,7 +1,8 @@
-package Krawfish::Info;
-use Krawfish::Log;
+package Krawfish::Koral::Info;
+use Role::Tiny;
use strict;
use warnings;
+use Krawfish::Log;
# TODO:
# Probably move to Krawfish::Koral::Info
diff --git a/lib/Krawfish/Koral/Query.pm b/lib/Krawfish/Koral/Query.pm
index 9293f6a..e4fa8c6 100644
--- a/lib/Krawfish/Koral/Query.pm
+++ b/lib/Krawfish/Koral/Query.pm
@@ -1,5 +1,6 @@
package Krawfish::Koral::Query;
-use parent 'Krawfish::Info';
+use Role::Tiny::With;
+with 'Krawfish::Koral::Info';
# TODO: Use the same parent as Koral::Corpus
use Krawfish::Koral::Query::Builder;
use Krawfish::Koral::Query::Importer;
@@ -43,7 +44,9 @@
};
-sub type;
+sub type {
+ ...
+};
#########################################
@@ -51,8 +54,11 @@
#########################################
+
# Normalize the query
-sub normalize;
+sub normalize {
+ ...
+};
# Refer to common subqueries
@@ -86,7 +92,9 @@
# Optimize for an index
-sub optimize;
+sub optimize {
+ ...
+};
# This is the class to be overwritten
@@ -155,7 +163,9 @@
# Returns a list of classes used by the query,
# e.g. in a focus() context.
-sub uses_classes;
+sub uses_classes {
+ ...
+};
sub remove_unused_classes {
@@ -379,7 +389,10 @@
# Overwritten
-sub to_koral_fragment;
+sub to_koral_fragment {
+ ...
+};
+
sub to_koral_query {
my $self = shift;
@@ -389,7 +402,9 @@
};
# Overwritten
-sub to_string;
+sub to_string {
+ ...
+};
sub to_neutral {
@@ -406,7 +421,9 @@
# TODO: Returns a value of complexity of the query,
# that can be used to decide, if a query should be cached.
-sub complexity;
+sub complexity {
+ ...
+};
# Create KoralQuery builder
diff --git a/lib/Krawfish/Koral/Query/Extension.pm b/lib/Krawfish/Koral/Query/Extension.pm
index a8ef732..ebf2e8d 100644
--- a/lib/Krawfish/Koral/Query/Extension.pm
+++ b/lib/Krawfish/Koral/Query/Extension.pm
@@ -63,9 +63,13 @@
};
};
-sub min_span;
+sub min_span {
+ ...
+};
-sub max_span;
+sub max_span {
+ ...
+};
sub to_string {
my $self = shift;
diff --git a/lib/Krawfish/Koral/Query/Length.pm b/lib/Krawfish/Koral/Query/Length.pm
index 86fddfc..13ba664 100644
--- a/lib/Krawfish/Koral/Query/Length.pm
+++ b/lib/Krawfish/Koral/Query/Length.pm
@@ -233,7 +233,9 @@
};
-sub from_koral;
+sub from_koral {
+ ...
+};
sub to_string {
diff --git a/lib/Krawfish/Koral/Query/Reference.pm b/lib/Krawfish/Koral/Query/Reference.pm
index 74ecfa2..f9094ce 100644
--- a/lib/Krawfish/Koral/Query/Reference.pm
+++ b/lib/Krawfish/Koral/Query/Reference.pm
@@ -28,7 +28,9 @@
}, $class;
};
-sub to_koral_fragment;
+sub to_koral_fragment {
+ ...
+};
sub type { 'reference' };
@@ -36,11 +38,23 @@
'ref(#' . $_[0]->{signature} . ')';
};
-sub is_extended_left;
-sub is_extended_right;
-sub is_extended;
-sub maybe_unsorted;
-sub min_span;
-sub max_span;
+sub is_extended_left {
+ ...
+};
+sub is_extended_right {
+ ...
+};
+sub is_extended {
+ ...
+};
+sub maybe_unsorted {
+ ...
+};
+sub min_span {
+ ...
+};
+sub max_span {
+ ...
+};
1;
diff --git a/lib/Krawfish/Koral/Query/Span.pm b/lib/Krawfish/Koral/Query/Span.pm
index 3e0e679..d9750f8 100644
--- a/lib/Krawfish/Koral/Query/Span.pm
+++ b/lib/Krawfish/Koral/Query/Span.pm
@@ -111,7 +111,9 @@
sub maybe_unsorted { 0 };
-sub from_koral;
+sub from_koral {
+ ...
+};
# Todo: Change the term_type!
diff --git a/lib/Krawfish/Koral/Result.pm b/lib/Krawfish/Koral/Result.pm
index dba4c2e..e6312a4 100644
--- a/lib/Krawfish/Koral/Result.pm
+++ b/lib/Krawfish/Koral/Result.pm
@@ -1,5 +1,6 @@
package Krawfish::Koral::Result;
-use parent 'Krawfish::Info';
+use Role::Tiny::With;
+with 'Krawfish::Koral::Info';
use strict;
use warnings;
diff --git a/lib/Krawfish/Posting/Group.pm b/lib/Krawfish/Posting/Group.pm
index c771fc7..a2a5089 100644
--- a/lib/Krawfish/Posting/Group.pm
+++ b/lib/Krawfish/Posting/Group.pm
@@ -9,10 +9,16 @@
# TODO:
# This is quite similar to K::P::Bundle
-sub freq;
+sub freq {
+ ...
+};
-sub doc_freq;
+sub doc_freq {
+ ...
+};
-sub to_hash;
+sub to_hash {
+ ...
+};
1;
diff --git a/lib/Krawfish/Posting/Sorted.pm b/lib/Krawfish/Posting/Sorted.pm
index 54a9e58..ce14570 100644
--- a/lib/Krawfish/Posting/Sorted.pm
+++ b/lib/Krawfish/Posting/Sorted.pm
@@ -8,12 +8,20 @@
# This posting iterator is returned by the HeapSort system.
-sub doc_id;
+sub doc_id {
+ ...
+};
-sub matches;
+sub matches {
+ ...
+};
-sub rank;
+sub rank {
+ ...
+};
-sub same;
+sub same {
+ ...
+};
1;
diff --git a/lib/Krawfish/Query.pm b/lib/Krawfish/Query.pm
index c91d2ac..14cd79f 100644
--- a/lib/Krawfish/Query.pm
+++ b/lib/Krawfish/Query.pm
@@ -24,17 +24,23 @@
# Overwrite
# TODO: Accepts a target doc
# TODO: Returns the doc_id of the current posting
-sub next;
+sub next {
+ ...
+};
-sub clone;
+sub clone {
+ ...
+};
# TODO:
# This is a value that should probably be stored
# at span-beginnings and can help to jump through very long
# sequences of spans
-sub max_length;
+sub max_length {
+ ...
+};
# This is only relevant for term posting lists
diff --git a/lib/Krawfish/Query/Base/Sorted.pm b/lib/Krawfish/Query/Base/Sorted.pm
index 44c93eb..f2dcb51 100644
--- a/lib/Krawfish/Query/Base/Sorted.pm
+++ b/lib/Krawfish/Query/Base/Sorted.pm
@@ -87,7 +87,9 @@
};
# Return index to last added element
-sub buffer_last;
+sub buffer_last {
+ ...
+};
# Points to the latest freed element in the buffer
# (normally this is -1 to first)
@@ -102,11 +104,16 @@
};
# sub buffer_push;
-sub buffer_shift;
-sub buffer_get;
+sub buffer_shift {
+ ...
+};
+
+sub buffer_get {
+ ...
+};
+
sub buffer_insert_after {
my ($self, $index, $element) = @_;
-
};
1;
diff --git a/lib/Krawfish/Query/Cache.pm b/lib/Krawfish/Query/Cache.pm
index 79490f5..db882ef 100644
--- a/lib/Krawfish/Query/Cache.pm
+++ b/lib/Krawfish/Query/Cache.pm
@@ -17,10 +17,16 @@
# The doc_ids are not stored as deltas,
# so sorting with offstes is supported
-sub next;
+sub next {
+ ...
+};
-sub max_freq;
+sub max_freq {
+ ...
+};
-sub clone;
+sub clone {
+ ...
+};
1;
diff --git a/lib/Krawfish/Query/Constraint/InDistanceSpan.pm b/lib/Krawfish/Query/Constraint/InDistanceSpan.pm
index b4e2d4a..7df9472 100644
--- a/lib/Krawfish/Query/Constraint/InDistanceSpan.pm
+++ b/lib/Krawfish/Query/Constraint/InDistanceSpan.pm
@@ -22,7 +22,9 @@
}, $class;
};
-sub clone;
+sub clone {
+ ...
+};
sub _init {
return if $_[0]->{init}++;
diff --git a/lib/Krawfish/Query/Extension.pm b/lib/Krawfish/Query/Extension.pm
index db0baf8..2a8b504 100644
--- a/lib/Krawfish/Query/Extension.pm
+++ b/lib/Krawfish/Query/Extension.pm
@@ -21,7 +21,9 @@
};
-sub clone;
+sub clone {
+ ...
+};
# Check the configuration
sub check {
diff --git a/lib/Krawfish/Query/Reference.pm b/lib/Krawfish/Query/Reference.pm
index a4b582f..ab0cba1 100644
--- a/lib/Krawfish/Query/Reference.pm
+++ b/lib/Krawfish/Query/Reference.pm
@@ -37,17 +37,27 @@
};
-sub clone;
+sub clone {
+ ...
+};
-sub next;
+sub next {
+ ...
+};
sub to_string {
my $self = shift;
};
-sub max_freq;
+sub max_freq {
+ ...
+};
-sub filter_by;
+sub filter_by {
+ ...
+};
+
+
1;
diff --git a/lib/Krawfish/Result/Group.pm b/lib/Krawfish/Result/Group.pm
index e2db10d..ea84e71 100644
--- a/lib/Krawfish/Result/Group.pm
+++ b/lib/Krawfish/Result/Group.pm
@@ -164,7 +164,9 @@
};
-sub current;
+sub current {
+ ...
+};
# Return a hash reference with information
diff --git a/lib/Krawfish/Result/Limit.pm b/lib/Krawfish/Result/Limit.pm
index 7f9bbb9..62349f9 100644
--- a/lib/Krawfish/Result/Limit.pm
+++ b/lib/Krawfish/Result/Limit.pm
@@ -47,11 +47,15 @@
};
# May return a hash reference with information
-sub current_match;
+sub current_match {
+ ...
+};
# May return a hash reference with information
-sub current_group;
+sub current_group {
+ ...
+};
# Stringify collector
diff --git a/lib/Krawfish/Result/Remote/Sort.pm b/lib/Krawfish/Result/Remote/Sort.pm
index e6eec6d..54a9b1b 100644
--- a/lib/Krawfish/Result/Remote/Sort.pm
+++ b/lib/Krawfish/Result/Remote/Sort.pm
@@ -25,6 +25,8 @@
}, $class;
};
-sub next;
+sub next {
+ ...
+};
1;
diff --git a/lib/Krawfish/Result/Segment/Aggregate/Base.pm b/lib/Krawfish/Result/Segment/Aggregate/Base.pm
index 4923267..8b101df 100644
--- a/lib/Krawfish/Result/Segment/Aggregate/Base.pm
+++ b/lib/Krawfish/Result/Segment/Aggregate/Base.pm
@@ -9,13 +9,16 @@
};
# Per default do nothing
-sub each_doc {};
+sub each_doc {
+};
# Per default do nothing
-sub each_match {};
+sub each_match {
+};
# Per default do nothing
-sub on_finish {};
+sub on_finish {
+};
# Not implemented on base
sub to_string {
diff --git a/lib/Krawfish/Result/Segment/Enrich/Snippet/Element.pm b/lib/Krawfish/Result/Segment/Enrich/Snippet/Element.pm
index 1190093..47c9f4d 100644
--- a/lib/Krawfish/Result/Segment/Enrich/Snippet/Element.pm
+++ b/lib/Krawfish/Result/Segment/Enrich/Snippet/Element.pm
@@ -1,13 +1,21 @@
-package Krawfish::Result::Snippet::Element;
+package Krawfish::Result::Segment::Snippet::Element;
use Krawfish::Log;
use strict;
use warnings;
-sub start_char;
-sub end_char;
+sub start_char {
+ ...
+};
+sub end_char {
+ ...
+};
-sub open_html;
-sub close_html;
+sub open_html {
+ ...
+};
+sub close_html {
+ ...
+};
1;
diff --git a/lib/Krawfish/Result/Sort/Priority.pm b/lib/Krawfish/Result/Sort/Priority.pm
index cde1362..fde2c8c 100644
--- a/lib/Krawfish/Result/Sort/Priority.pm
+++ b/lib/Krawfish/Result/Sort/Priority.pm
@@ -127,7 +127,9 @@
# in sorted order to document the sort criteria.
# Like: [[class_1 => 'cba'], [author => 'Goethe']]...
# This is necessary for the cluster-merge-sort
-sub current_sort;
+sub current_sort {
+ ...
+};
sub to_string {
diff --git a/lib/Krawfish/Util/RingBuffer.pm b/lib/Krawfish/Util/RingBuffer.pm
index dc21d1c..5d21c28 100644
--- a/lib/Krawfish/Util/RingBuffer.pm
+++ b/lib/Krawfish/Util/RingBuffer.pm
@@ -124,7 +124,9 @@
$_[0]->{span};
};
-sub to_string;
+sub to_string {
+ ...
+};
# sub size;
# sub clear;