Matt Chaput  committed 081dc13 Merge

Merged in jasco/whoosh/column_offset_overflow_fix (pull request #45)

Fix OverflowError on searching large index due to integer overflow while building column offset table.

  • Participants
  • Parent commits a4169fc, 73976ac

Comments (0)

Files changed (1)

File src/whoosh/

             # Create an array of offsets into the strings using the lengths
-            offsets = array("i", (0,))
+            offsets = array("L", (0,))
             for length in self._lengths:
                 offsets.append(offsets[-1] + length)
             self._offsets = offsets