Skip to content

Commit

Permalink
Fixed IndexReader offset issue for large files
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Krawczyk committed Oct 29, 2012
1 parent 0e469eb commit 2809195
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c/src/index.c
Expand Up @@ -1649,7 +1649,7 @@ LazyDoc *fr_get_lazy_doc(FieldsReader *fr, int doc_num)
for (i = 0; i < stored_cnt; i++) {
LazyDocField *lazy_df = lazy_doc->fields[i];
const int data_cnt = lazy_df->size;
const int start = is_pos(fdt_in);
const off_t start = is_pos(fdt_in);
for (j = 0; j < data_cnt; j++) {
lazy_df->data[j].start += start;
}
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/ferret/version.rb
@@ -1,3 +1,3 @@
module Ferret
VERSION = '0.11.8.4'
VERSION = '0.11.8.5'
end

0 comments on commit 2809195

Please sign in to comment.