Introduced stored fields
diff --git a/*shell* b/*shell*
new file mode 100644
index 0000000..6d95d3d
--- /dev/null
+++ b/*shell*
@@ -0,0 +1,3717 @@
+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/lib/Krawfish/Index/Fields/Doc.pm b/lib/Krawfish/Index/Fields/Doc.pm
index 1ae47a9..e6d0d37 100644
--- a/lib/Krawfish/Index/Fields/Doc.pm
+++ b/lib/Krawfish/Index/Fields/Doc.pm
@@ -45,8 +45,8 @@
push @data, $_->key_id; # Key data
push @data, $_->type; # Key type marker
# Store term or value!
- push @data, $_->term_id;
- push @data, $_->value if $_->type eq 'int';;
+ push @data, $_->term_id unless $_->type eq 'store';
+ push @data, $_->value if $_->type eq 'int' || $_->type eq 'store';
};
push @data, 'EOF';
diff --git a/lib/Krawfish/Index/Fields/Pointer.pm b/lib/Krawfish/Index/Fields/Pointer.pm
index 7527858..5ac97b1 100644
--- a/lib/Krawfish/Index/Fields/Pointer.pm
+++ b/lib/Krawfish/Index/Fields/Pointer.pm
@@ -1,4 +1,7 @@
package Krawfish::Index::Fields::Pointer;
+use Krawfish::Koral::Document::FieldInt;
+use Krawfish::Koral::Document::FieldStore;
+use Krawfish::Koral::Document::FieldString;
use Krawfish::Log;
use warnings;
use strict;
@@ -72,6 +75,7 @@
};
+# This returns only int-values - so it may need to be renamed
sub values {
my $self = shift;
my @key_ids = @_; # Need to be sorted in order!
@@ -99,7 +103,7 @@
$key_id = $doc->[$self->{pos}++];
$type = $doc->[$self->{pos}++];
- # Skip key term
+ # Skip key term or value (in case of store)
$self->{pos}++;
# There is a value to aggregate
@@ -107,7 +111,10 @@
if (DEBUG) {
print_log('f_point', "Found value for " . $key_ids[$key_pos] . ' at ' . $key_pos);
};
- push @values, [$key_id, $doc->[$self->{pos}++]];
+ push @values, Krawfish::Koral::Document::FieldInt->new(
+ key_id => $key_id,
+ value => $doc->[$self->{pos}++]
+ );
};
$key_pos++;
@@ -125,7 +132,7 @@
$self->{pos}++;
$type = $doc->[$self->{pos}++];
$self->{pos}++;
- $self->{pos}++ if $type eq 'int'
+ $self->{pos}++ if $type eq 'int' || $type eq 'store'
};
# Remember the current field
@@ -135,6 +142,7 @@
return @values;
};
+
# Get all field term ids.
# If key ids are passed, they need to be in numerical order!
sub fields {
@@ -149,15 +157,7 @@
unless (@_ > 0) {
while ($current && $current ne 'EOF') {
- # The structure [key_id, key] is necessary for multivalued fields!
- $key_id = $self->{pos}++;
-
- $type = $doc->[$self->{pos}++];
-
- push @fields, [$key_id, $doc->[$self->{pos}++]];
-
- # Skip value
- $self->{pos}++ if $type eq 'int';
+ push @fields, $self->_get_by_type($doc);
$current = $doc->[$self->{pos}];
};
}
@@ -186,14 +186,12 @@
# The key id matches the first id
if ($current == $key_ids[$key_pos]) {
- # The structure [key_id, key] is necessary for multivalued fields!
- $self->{pos}++;
- $type = $doc->[$self->{pos}++];
- my $field = $doc->[$self->{pos}++];
- push @fields, [$current, $field];
+ push @fields, $self->_get_by_type($doc);
if (DEBUG) {
- print_log('f_point', "Found field_id $field for " . $key_ids[$key_pos] . ' at ' . $key_pos);
+ print_log('f_point', 'Found field ' .
+ $fields[-1]->to_string .
+ ' for ' . $key_ids[$key_pos]);
};
$key_pos++;
@@ -210,11 +208,10 @@
else {
$self->{pos}++;
$type = $doc->[$self->{pos}++];
- $self->{pos}++;
+ $self->{pos}++ if $type ne 'store';
+ $self->{pos}++ if $type eq 'int' || $type eq 'store';
};
- # Skip value
- $self->{pos}++ if $type eq 'int';
# Remember the current field
$current = $doc->[$self->{pos}];
@@ -225,9 +222,44 @@
};
+sub _get_by_type {
+ my ($self, $doc) = @_;
+
+ my $key_id = $doc->[$self->{pos}++];
+
+ my $type = $doc->[$self->{pos}++];
+
+ # Read integer
+ if ($type eq 'int') {
+ return Krawfish::Koral::Document::FieldInt->new(
+ key_id => $key_id,
+ key_value_id => $doc->[$self->{pos}++],
+ value => $doc->[$self->{pos}++]
+ );
+ }
+
+ # read string
+ elsif ($type eq 'string') {
+ return Krawfish::Koral::Document::FieldString->new(
+ key_id => $key_id,
+ key_value_id => $doc->[$self->{pos}++]
+ );
+ }
+
+ # read store
+ elsif ($type eq 'store') {
+ return Krawfish::Koral::Document::FieldStore->new(
+ key_id => $key_id,
+ value => $doc->[$self->{pos}++]
+ );
+ };
+};
+
+
sub field_terms {
my $self = shift;
- return map { $_->[1] } $self->fields(@_);
+ warn 'probably wrong!';
+ return map { $_->term_id } $self->fields(@_);
};
diff --git a/lib/Krawfish/Index/Merge.pm b/lib/Krawfish/Index/Merge.pm
index 4ef971b..f6881de 100644
--- a/lib/Krawfish/Index/Merge.pm
+++ b/lib/Krawfish/Index/Merge.pm
@@ -17,10 +17,10 @@
sub new {
- my ($class, $index_a, $index_b) = @_;
+ my ($class, $segment_a, $segment_b) = @_;
bless {
- index_a => $index_a,
- index_b => $index_b
+ segment_a => $segment_a,
+ segment_b => $segment_b
}, $class;
};
@@ -64,6 +64,7 @@
$self->_launch;
};
+
sub _launch {
# TODO:
# - If the dictionary is new
diff --git a/lib/Krawfish/Index/Segment.pm b/lib/Krawfish/Index/Segment.pm
index e23dcaf..0a0a2dd 100644
--- a/lib/Krawfish/Index/Segment.pm
+++ b/lib/Krawfish/Index/Segment.pm
@@ -165,6 +165,7 @@
# Create term index for fields
my $fields = $doc->fields;
foreach (@$fields) {
+ next if $_->type eq 'store';
if (DEBUG) {
print_log('seg', 'Added field #' . $_->term_id . ' for doc_id=' . $doc_id);
};
diff --git a/lib/Krawfish/Koral/Document.pm b/lib/Krawfish/Koral/Document.pm
index a2d81ec..aa96468 100644
--- a/lib/Krawfish/Koral/Document.pm
+++ b/lib/Krawfish/Koral/Document.pm
@@ -33,7 +33,6 @@
my $class = shift;
my $self = bless {
- primary => '',
sortable => {},
stream => Krawfish::Koral::Document::Stream->new,
fields => Krawfish::Koral::Document::Fields->new
@@ -52,12 +51,6 @@
};
-# Get the primary data
-sub primary_data {
- $_[0]->{primary};
-};
-
-
# Get the stream object
sub stream {
$_[0]->{stream};
@@ -110,8 +103,6 @@
$primary = $doc->{primaryData};
};
- $self->{primary} = $primary;
-
# Add metadata fields
my $pos = 0;
my %sortable;
@@ -132,11 +123,17 @@
# Prepare for summarization
- if ($field->{type} && $field->{type} eq 'type:integer') {
+ if (!$field->{type} || $field->{type} eq 'type:string') {
+ $fields->add_string($field->{key}, $field->{value});
+ }
+ elsif ($field->{type} eq 'type:integer') {
$fields->add_int($field->{key}, $field->{value});
}
+ elsif ($field->{type} eq 'type:store') {
+ $fields->add_store($field->{key}, $field->{value});
+ }
else {
- $fields->add_string($field->{key}, $field->{value});
+ warn 'unknown field type: ' . $field->{type};
};
# This will later be indexed for search as well as retrieval in
diff --git a/lib/Krawfish/Koral/Document/FieldInt.pm b/lib/Krawfish/Koral/Document/FieldInt.pm
index c7ebe6f..71f4967 100644
--- a/lib/Krawfish/Koral/Document/FieldInt.pm
+++ b/lib/Krawfish/Koral/Document/FieldInt.pm
@@ -1,14 +1,15 @@
package Krawfish::Koral::Document::FieldInt;
use Krawfish::Util::String qw/squote/;
+# TODO:
+# Probably use Krawfish::Koral::Meta::Type::KeyID and
+# Krawfish::Koral::Meta::Type::Key.
use warnings;
use strict;
sub new {
my $class = shift;
- bless {
- key => shift,
- value => shift
- }, $class;
+ # key, value, key_id, key_value_id
+ bless { @_ }, $class;
};
sub type {
@@ -35,6 +36,8 @@
sub identify {
my ($self, $dict) = @_;
+ return if $self->{key_id};
+
my $key = '!' . $self->{key};
my $term = '+' . $self->{key} . ':' . $self->{value};
@@ -67,12 +70,16 @@
};
+sub inflate {
+ ...
+};
+
sub to_string {
my $self = shift;
unless ($self->{key_id}) {
return squote($self->{key}) . '=' . $self->{value};
};
- return $self->{key_id} . '=' . $self->{key_value_id} . '(' . $self->{value} . ')';
+ return '#' . $self->{key_id} . '=' . '#' . $self->{key_value_id} . '(' . $self->{value} . ')';
};
diff --git a/lib/Krawfish/Koral/Document/FieldStore.pm b/lib/Krawfish/Koral/Document/FieldStore.pm
new file mode 100644
index 0000000..76c8c97
--- /dev/null
+++ b/lib/Krawfish/Koral/Document/FieldStore.pm
@@ -0,0 +1,67 @@
+package Krawfish::Koral::Document::FieldStore;
+use Krawfish::Util::String qw/squote/;
+use warnings;
+use strict;
+
+# Class for store-only fields
+# (not indexed in the dictionary)
+
+sub new {
+ my $class = shift;
+ # key, value
+ bless { @_ }, $class;
+};
+
+sub type {
+ 'store'
+};
+
+
+sub key {
+ $_[0]->{key};
+};
+
+sub key_id {
+ $_[0]->{key_id};
+};
+
+sub term_id {
+ # There is no term_id, but it's required for sorting
+ undef;
+};
+
+sub value {
+ $_[0]->{value};
+};
+
+sub identify {
+ my ($self, $dict) = @_;
+
+ my $key = '!' . $self->{key};
+
+ # Get key term_id
+ # TODO:
+ # Add new method that introduces the term
+ # in case it doesn't exist
+ my $key_id = $dict->term_id_by_term($key);
+
+ # Not given yet
+ if (defined $key_id) {
+ $self->{key_id} = $key_id;
+ }
+
+ else {
+ $self->{key_id} = $dict->add_term($key);
+ };
+ return $self;
+};
+
+
+sub to_string {
+ my $self = shift;
+ my $str = $self->{key_id} ? '#' . $self->{key_id} : squote($self->{key});
+ return $str . '=' . squote($self->{value});
+};
+
+
+1;
diff --git a/lib/Krawfish/Koral/Document/FieldString.pm b/lib/Krawfish/Koral/Document/FieldString.pm
index a93035a..1a1c296 100644
--- a/lib/Krawfish/Koral/Document/FieldString.pm
+++ b/lib/Krawfish/Koral/Document/FieldString.pm
@@ -3,12 +3,12 @@
use warnings;
use strict;
+# Class for string fields
+
sub new {
my $class = shift;
- bless {
- key => shift,
- value => shift
- }, $class;
+ # key, value
+ bless { @_ }, $class;
};
@@ -68,7 +68,7 @@
unless ($self->{key_id}) {
return squote($self->{key}) . '=' . squote($self->{value});
};
- return $self->{key_id} . '=' . $self->{key_value_id};
+ return '#' . $self->{key_id} . '=' . '#' . $self->{key_value_id};
};
1;
diff --git a/lib/Krawfish/Koral/Document/Fields.pm b/lib/Krawfish/Koral/Document/Fields.pm
index 0cdb964..4c13c57 100644
--- a/lib/Krawfish/Koral/Document/Fields.pm
+++ b/lib/Krawfish/Koral/Document/Fields.pm
@@ -1,6 +1,7 @@
package Krawfish::Koral::Document::Fields;
use Krawfish::Koral::Document::FieldString;
use Krawfish::Koral::Document::FieldInt;
+use Krawfish::Koral::Document::FieldStore;
use warnings;
use strict;
@@ -14,7 +15,10 @@
my ($key, $value) = @_;
# This may be an integer value
- push @$self, Krawfish::Koral::Document::FieldString->new($key, $value);
+ push @$self, Krawfish::Koral::Document::FieldString->new(
+ key => $key,
+ value => $value
+ );
};
@@ -23,7 +27,22 @@
my ($key, $value) = @_;
# This may be an integer value
- push @$self, Krawfish::Koral::Document::FieldInt->new($key, $value);
+ push @$self, Krawfish::Koral::Document::FieldInt->new(
+ key => $key,
+ value => $value
+ );
+};
+
+
+sub add_store {
+ my $self = shift;
+ my ($key, $value) = @_;
+
+ # This may be an integer value
+ push @$self, Krawfish::Koral::Document::FieldStore->new(
+ key => $key,
+ value => $value
+ );
};
diff --git a/lib/Krawfish/Posting/Match/Fields.pm b/lib/Krawfish/Posting/Match/Fields.pm
index 4293eed..64f69c8 100644
--- a/lib/Krawfish/Posting/Match/Fields.pm
+++ b/lib/Krawfish/Posting/Match/Fields.pm
@@ -2,23 +2,18 @@
use strict;
use warnings;
+# The fields are represented as Krawfish::Koral::Document::Field* objects!
+
sub new {
my $class = shift;
bless {
- field_ids => [@_],
- fields => undef,
+ fields => [@_]
}, $class;
};
sub to_string {
my $self = shift;
-
- if ($self->{fields}) {
- return 'fields:' . join(',', @{$self->{fields}});
- }
- else {
- return 'fields:' . join(',', map { '#' . $_ } @{$self->{field_ids}});
- }
+ return 'fields:' . join(',', map { $_->to_string } @{$self->{fields}});
};
1;
diff --git a/lib/Krawfish/Result/Segment/Aggregate/Facets.pm b/lib/Krawfish/Result/Segment/Aggregate/Facets.pm
index 7d1607a..da44242 100644
--- a/lib/Krawfish/Result/Segment/Aggregate/Facets.pm
+++ b/lib/Krawfish/Result/Segment/Aggregate/Facets.pm
@@ -13,6 +13,11 @@
# Simplify the counting by mapping the requested fields to
# an array, that points to a map.
+# TODO:
+# Look for fast int => int hash maps
+# http://java-performance.info/implementing-world-fastest-java-int-to-int-hash-map/
+# http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx
+# https://gist.github.com/badboy/6267743
# TODO:
# Support corpus classes!
@@ -102,11 +107,14 @@
# Iterate over all fields
foreach my $field ($pointer->fields(@{$self->{field_keys}})) {
+ # This should probably be a method in the fields pointer!
+ next if $field->type eq 'store';
+
# Increment occurrence
- $aggr->incr_doc($field->[0], $field->[1]);
+ $aggr->incr_doc($field->key_id, $field->term_id);
if (DEBUG) {
- print_log('aggr_facets', '#' . $field->[0] . ' has frequencies');
+ print_log('aggr_facets', '#' . $field->term_id . ' has frequencies');
};
};
}
diff --git a/lib/Krawfish/Result/Segment/Aggregate/Values.pm b/lib/Krawfish/Result/Segment/Aggregate/Values.pm
index e18c59c..8cd9a79 100644
--- a/lib/Krawfish/Result/Segment/Aggregate/Values.pm
+++ b/lib/Krawfish/Result/Segment/Aggregate/Values.pm
@@ -69,7 +69,7 @@
foreach my $field (@values) {
# Aggregate value
- $aggr->add($field->[0], $field->[1]);
+ $aggr->add($field->key_id, $field->value);
};
};
};
diff --git a/lib/Krawfish/Result/Segment/Enrich/Fields.pm b/lib/Krawfish/Result/Segment/Enrich/Fields.pm
index bd7c829..d41b992 100644
--- a/lib/Krawfish/Result/Segment/Enrich/Fields.pm
+++ b/lib/Krawfish/Result/Segment/Enrich/Fields.pm
@@ -98,7 +98,7 @@
};
# Get the fields from the fields stream
- my @fields = $fields->field_terms(@{$self->{fields}});
+ my @fields = $fields->fields(@{$self->{fields}});
$self->{last_doc_id} = $match->doc_id;
$self->{last_fields} = [@fields];
diff --git a/lib/Test/Krawfish.pm b/lib/Test/Krawfish.pm
index e3a8409..d453c40 100644
--- a/lib/Test/Krawfish.pm
+++ b/lib/Test/Krawfish.pm
@@ -276,7 +276,7 @@
foreach my $key (sort keys %$hash) {
my $type = 'string';
my $long_key = $key;
- if ($key =~ s/^(string|integer)_//) {
+ if ($key =~ s/^(string|integer|store)_//) {
$type = $1;
};
diff --git a/t/data/doc3-segments.jsonld b/t/data/doc3-segments.jsonld
index 5923d91..c95fc00 100644
--- a/t/data/doc3-segments.jsonld
+++ b/t/data/doc3-segments.jsonld
@@ -25,6 +25,12 @@
"value": 8,
"type":"type:integer",
"sortable":true
+ },
+ {
+ "@type":"koral:field",
+ "key":"URI",
+ "value": "http://korap.ids-mannheim.de/instance/example",
+ "type":"type:store"
}
],
"subtokens" : [
diff --git a/t/index/fields.t b/t/index/fields.t
index 1fc8c5f..20027e4 100644
--- a/t/index/fields.t
+++ b/t/index/fields.t
@@ -20,7 +20,6 @@
# Transform dictionary to term_id stream
ok($doc = $doc->identify($index->dict), 'Translate to term identifiers');
-
# Add document to segment
my $doc_id = $index->segment->add($doc);
is($doc_id, 0, 'Doc id well added');
@@ -30,42 +29,51 @@
ok(my @fields = $pointer->fields, 'Get fields');
-is($fields[0]->[1], 2, 'Field id');
-is($index->dict->term_by_term_id(2), '+docID:doc-3', 'Term');
-is($fields[1]->[1], 4, 'Field id');
-is($index->dict->term_by_term_id(4), '+license:closed', 'Term');
-is($fields[2]->[1], 6, 'Field id');
-is($index->dict->term_by_term_id(6), '+textLength:8', 'Term');
-ok(!$fields[3]->[1], 'Field id');
+is($fields[0]->term_id, 2, 'Field id');
+is($index->dict->term_by_term_id(2), '+docID:doc-3', 'Term');
+is($fields[1]->term_id, 4, 'Field id');
+is($index->dict->term_by_term_id(4), '+license:closed', 'Term');
+is($fields[2]->term_id, 6, 'Field id');
+is($index->dict->term_by_term_id(6), '+textLength:8', 'Term');
+ok($fields[3], 'Field id');
+ok(!$fields[3]->term_id, 'No field id');
+is($fields[3]->value, 'http://korap.ids-mannheim.de/instance/example', 'No field id');
+ok(!$fields[4], 'No more fields');
+
ok($pointer = $index->segment->fields->pointer, 'Get pointer');
is($pointer->skip_doc(0), 0, 'Skip');
# Get the +license and +textLength fields
ok(@fields = $pointer->fields(3, 5, 17), 'Get fields');
-is($fields[0]->[1], 4, 'Field id');
+is($fields[0]->term_id, 4, 'Field id');
is($index->dict->term_by_term_id(4), '+license:closed', 'Term');
-is($fields[1]->[1], 6, 'Field id');
+is($fields[1]->term_id, 6, 'Field id');
is($index->dict->term_by_term_id(6), '+textLength:8', 'Term');
ok(!$fields[2], 'Field id');
+
+
ok($index = Krawfish::Index->new, 'Create new index');
ok_index($index, {
id => 7,
integer_size => 2,
+ store_uri => 'https://korap.ids-mannheim.de/instance/example7'
} => [qw/aa bb/], 'Add complex document');
ok_index($index, {
id => 3,
integer_size => 3,
+ store_uri => 'https://korap.ids-mannheim.de/instance/example3'
} => [qw/aa cc cc/], 'Add complex document');
ok_index($index, {
id => 1,
integer_size => 17,
+ store_uri => 'https://korap.ids-mannheim.de/instance/example1'
} => [qw/aa bb/], 'Add complex document');
ok($pointer = $index->segment->fields->pointer, 'Get pointer');
@@ -76,7 +84,7 @@
# Get the +size value
ok(my @values = $pointer->values($index->dict->term_id_by_term('!size')),
'Get field value');
-is($values[0]->[1], 2, 'Size');
+is($values[0]->value, 2, 'Size');
# Get +size of doc_id 2
@@ -84,8 +92,19 @@
ok(@values = $pointer->values($index->dict->term_id_by_term('!size')),
'Get field value');
-is($values[0]->[1], 17, 'Size');
+is($values[0]->value, 17, 'Size');
+ok($pointer = $index->segment->fields->pointer, 'Get pointer');
+is($pointer->skip_doc(0), 0, 'Skip');
+
+ok(@fields = $pointer->fields($index->dict->term_id_by_term('!uri')), 'Get fields');
+is($fields[0]->value, 'https://korap.ids-mannheim.de/instance/example7', 'Field id');
+# is($index->dict->term_by_term_id(2), '+docID:doc-3', 'Term');
+#is($fields[1]->[1], 4, 'Field id');
+
+
+diag 'Checked for multivalued fields';
+
done_testing;
__END__
diff --git a/t/index/forward_stream.t b/t/index/forward_stream.t
index dde8612..84de1e9 100644
--- a/t/index/forward_stream.t
+++ b/t/index/forward_stream.t
@@ -35,7 +35,7 @@
$koral->query($qb->span('akron/c=NP'));
ok($query = $koral->to_query->identify($index->dict)->optimize($index->segment),
'Materialize');
-is($query->to_string, 'filter(#10,[1])', 'Stringification');
+is($query->to_string, 'filter(#11,[1])', 'Stringification');
matches($query, [qw/[0:0-3] [0:4-8]/], 'Search');
@@ -44,11 +44,10 @@
$koral->query($qb->token('akron=Bau-Leiter'));
ok($query = $koral->to_query->identify($index->dict)->optimize($index->segment),
'Materialize');
-is($query->to_string, 'filter(#13,[1])', 'Stringification');
+is($query->to_string, 'filter(#14,[1])', 'Stringification');
matches($query, [qw/[0:1-3]/], 'Search');
-
# Search for position(startsWith|endsWith:<akron/c=NP>,akron=Bau-Leiter)
$koral->query(
$qb->position(
@@ -59,7 +58,7 @@
);
ok($query = $koral->to_query->identify($index->dict)->optimize($index->segment),
'Create query');
-is($query->to_string, 'constr(pos=272:#10,filter(#13,[1]))', 'Stringification');
+is($query->to_string, 'constr(pos=272:#11,filter(#14,[1]))', 'Stringification');
matches($query, [qw/[0:0-3]/], 'Search');
@@ -70,34 +69,34 @@
ok($fwd->next, 'Go to first subtoken');
is($fwd->pos, 0, 'First subtoken');
-is($fwd->current->term_id, 7, 'Get term id');
-is($fwd->current->term_id, 7, 'Get term id');
+is($fwd->current->term_id, 8, 'Get term id');
+is($fwd->current->term_id, 8, 'Get term id');
is($fwd->current->preceding_data, '', 'Get term id');
-is($index->dict->term_by_term_id(7), '*Der', 'Get term by term id');
+is($index->dict->term_by_term_id(8), '*Der', 'Get term by term id');
ok($fwd->next, 'Go to first subtoken');
is($fwd->pos, 1, 'Second subtoken');
-is($fwd->current->term_id, 12, 'Get term id');
-is($fwd->current->term_id, 12, 'Get term id');
+is($fwd->current->term_id, 13, 'Get term id');
+is($fwd->current->term_id, 13, 'Get term id');
is($fwd->current->preceding_data, ' ', 'Get term id');
-is($index->dict->term_by_term_id(12), '*Bau', 'Get term by term id');
+is($index->dict->term_by_term_id(13), '*Bau', 'Get term by term id');
ok($fwd->next, 'Go to first subtoken');
is($fwd->pos, 2, 'Third subtoken');
-is($fwd->current->term_id, 14, 'Get term id');
+is($fwd->current->term_id, 15, 'Get term id');
is($fwd->current->preceding_data, '-', 'Get term id');
-is($index->dict->term_by_term_id(14), '*Leiter', 'Get term by term id');
+is($index->dict->term_by_term_id(15), '*Leiter', 'Get term by term id');
ok($fwd->prev, 'Go to first subtoken');
is($fwd->pos, 1, 'Second subtoken');
-is($fwd->current->term_id, 12, 'Get term id');
-is($fwd->current->term_id, 12, 'Get term id');
+is($fwd->current->term_id, 13, 'Get term id');
+is($fwd->current->term_id, 13, 'Get term id');
is($fwd->current->preceding_data, ' ', 'Get term id');
-is($index->dict->term_by_term_id(12), '*Bau', 'Get term by term id');
+is($index->dict->term_by_term_id(13), '*Bau', 'Get term by term id');
ok(my @anno = $fwd->current->annotations, 'Get annotations');
-is($anno[0]->[0], 13, 'Annotation');
+is($anno[0]->[0], 14, 'Annotation');
is($index->dict->term_by_term_id($anno[0]->[0]), 'akron=Bau-Leiter', 'Annotation');
ok($fwd = $index->segment->forward->pointer, 'Get pointer');
@@ -105,9 +104,9 @@
ok(defined $fwd->skip_pos(2), 'Skip to second subtoken');
is($fwd->doc_id, 0, 'Skip to first document');
is($fwd->pos, 2, 'Third subtoken');
-is($fwd->current->term_id, 14, 'Get term id');
+is($fwd->current->term_id, 15, 'Get term id');
is($fwd->current->preceding_data, '-', 'Get term id');
-is($index->dict->term_by_term_id(14), '*Leiter', 'Get term by term id');
+is($index->dict->term_by_term_id(15), '*Leiter', 'Get term by term id');
done_testing;
diff --git a/t/koral/doc.t b/t/koral/doc.t
index e927a74..2fedbb4 100644
--- a/t/koral/doc.t
+++ b/t/koral/doc.t
@@ -13,10 +13,14 @@
't/data/doc1.jsonld'
), 'Load document');
-is($doc->primary_data,
- 'Der alte Mann ging über die Straße. Er trug einen lustigen Hut.',
- 'That\'s the primary data'
- );
+
+# TODO:
+# Maybe it's possible to implement
+# $doc->stream->to_primary
+#is($doc->primary_data,
+# 'Der alte Mann ging über die Straße. Er trug einen lustigen Hut.',
+# 'That\'s the primary data'
+# );
is(substr($doc->stream->to_string, 0, 40),
q!(0)['Der';'Der'$1](1) ['alte';'alte'$2](!,
@@ -32,28 +36,28 @@
't/data/doc3-segments.jsonld'
), 'Load document');
-is($doc->primary_data,
- 'Der Bau-Leiter trug einen lustigen Bau-Helm.',
- 'That\'s the primary data'
- );
+#is($doc->primary_data,
+# 'Der Bau-Leiter trug einen lustigen Bau-Helm.',
+# 'That\'s the primary data'
+# );
is(substr($doc->stream->to_string, 0, 100),
q!(0)['Der';'akron=Der'$1;'<>akron/c=NP'$3](1) ['Bau';'akron=Bau-Leiter'$3](2)-['Leiter'](3) ['trug';'!,
'Get stream');
-is($doc->fields->to_string, "'docID'='doc-3';'license'='closed';'textLength'=8", 'Fields');
+is($doc->fields->to_string, "'docID'='doc-3';'license'='closed';'textLength'=8;'URI'='http://korap.ids-mannheim.de/instance/example'", 'Fields');
my $index = Krawfish::Index->new;
ok($doc = $doc->identify($index->dict), 'Turn terms into term_ids');
-is($doc->fields->to_string, '1=2;3=4;5=6(8)', 'Fields');
+is($doc->fields->to_string, "#1=#2;#3=#4;#5=#6(8);#7='http://korap.ids-mannheim.de/instance/example'", 'Fields');
-is($doc->stream->to_string, q!(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).['']!, 'Stream');
+is($doc->stream->to_string, q!(0)[8;9$1;11$3](1) [13;14$3](2)-[15](3) [16;17$4;18$4](4) [21;22$5;11$8](5) [23;24$6](6) [13;25$8](7)-[26](8).['']!, 'Stream');
-is($doc->to_string, q[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).['']!, 'Stringification');
+is($doc->to_string, q[8;9$1;11$3](1) [13;14$3](2)-[15](3) [16;17$4;18$4](4) [21;22$5;11$8](5) [23;24$6](6) [13;25$8](7)-[26](8).['']!, 'Stringification');
done_testing;
__END__
diff --git a/t/plan/span.t b/t/plan/span.t
index 2306012..e903af4 100644
--- a/t/plan/span.t
+++ b/t/plan/span.t
@@ -27,7 +27,7 @@
ok($query = $query->normalize, 'Normalization');
is($query->to_string, "<akron/c=NP>", 'Stringification');
ok($query = $query->identify($index->dict)->optimize($index->segment), 'Normalization');
-is($query->to_string, "#10", 'Stringification');
+is($query->to_string, "#11", 'Stringification');
# Span planning with zero freq
$query = $builder->span('xxxx');
diff --git a/t/result/segment/enrich_fields.t b/t/result/segment/enrich_fields.t
index 3defcc8..4046ae0 100644
--- a/t/result/segment/enrich_fields.t
+++ b/t/result/segment/enrich_fields.t
@@ -21,7 +21,8 @@
ok_index($index, {
id => 'doc-3',
license => 'free',
- corpus => 'corpus-1'
+ corpus => 'corpus-1',
+ store_uri => 'My URL'
} => [qw/bb cc/], 'Add new document');
@@ -62,22 +63,23 @@
ok($fields->next, 'Next');
is($fields->current->to_string, '[0:0-1]', 'Current object');
-is($fields->current_match->to_string2, "[0:0-1|fields:#2,#6]",
+is($fields->current_match->to_string2, "[0:0-1|fields:#1=#2,#5=#6]",
'Current match');
ok($fields->next, 'Next');
-is($fields->current_match->to_string2, "[1:0-1|fields:#11,#13]",
+is($fields->current_match->to_string2, "[1:0-1|fields:#1=#11,#5=#13]",
'Current match');
ok(!$fields->next, 'No more next');
# Fields for multiple spans
+# Retrieve including stored data
$koral = Krawfish::Koral->new;
$koral->query($qb->bool_or('aa', 'bb'));
$koral->meta(
$mb->enrich(
- $mb->e_fields('license','corpus')
+ $mb->e_fields('license','corpus', 'uri')
)
);
$fields = $koral->to_query->identify($index->dict)->optimize($index->segment);
@@ -85,27 +87,27 @@
ok($fields->next, 'Next');
is($fields->current->to_string, '[0:0-1]', 'Current object');
-is($fields->current_match->to_string2, "[0:0-1|fields:#2,#6]",
+is($fields->current_match->to_string2, "[0:0-1|fields:#1=#2,#5=#6]",
'Current match');
ok($fields->next, 'Next');
is($fields->current->to_string, '[0:1-2]', 'Current object');
-is($fields->current_match->to_string2, "[0:1-2|fields:#2,#6]",
+is($fields->current_match->to_string2, "[0:1-2|fields:#1=#2,#5=#6]",
'Current match');
ok($fields->next, 'Next');
is($fields->current->to_string, '[1:0-1]', 'Current object');
-is($fields->current_match->to_string2, "[1:0-1|fields:#11,#13]",
+is($fields->current_match->to_string2, "[1:0-1|fields:#1=#11,#5=#13]",
'Current match');
ok($fields->next, 'Next');
is($fields->current->to_string, '[1:1-2]', 'Current object');
-is($fields->current_match->to_string2, "[1:1-2|fields:#11,#13]",
+is($fields->current_match->to_string2, "[1:1-2|fields:#1=#11,#5=#13]",
'Current match');
ok($fields->next, 'Next');
is($fields->current->to_string, '[2:0-1]', 'Current object');
-is($fields->current_match->to_string2, "[2:0-1|fields:#14,#6]",
+is($fields->current_match->to_string2, "[2:0-1|fields:#1=#14,#5=#6,#16='My URL']",
'Current match');
ok(!$fields->next, 'Next');