cheshire3 / cheshire3

Cheshire3 Search Engine and Information Framework
http://www.cheshire3.org
Other
16 stars 12 forks source link

64-bit Indexing #73

Closed bloomonkey closed 10 years ago

bloomonkey commented 10 years ago

There is a bug when indexing on 64-bit architectures, resulting in an error like:

File "/XXX/cheshire3/cheshire3/index.py", line 941, in deserialize_term
    return struct.unpack(fmt, data)
struct.error: unpack requires a string argument of length 12
bloomonkey commented 10 years ago

For the time being, a workaround is to add the following setting in the <options> section of all Index configurations:

<setting type="longSize">4</setting>