Skip to main content.
home | support | download

Back to List Archive

Re: Crossplatform Swish-e Index

From: Bill Moseley <moseley(at)>
Date: Mon May 24 2004 - 21:32:58 GMT
On Mon, May 24, 2004 at 01:57:09PM -0700, William Osborne wrote:
> I have index about 150,000 text documents with Swish-e under Windows, and
> I have been trying to use the same index on a webserver running Net BSD
> (64 bit Alpha).
> I can search the index just find under Windows.  But, when I try searching
> using Net BSD, swish-e reports that the index version is invalid.  I used
> the exact same source package to build swish-e on both systems.
> Can someone tell me if indexes that are created on one platform can be
> searched on a different platfor

I think the problem is the size of basic C data types differs on the
64bit machine.  That's likely why the index is not portable between
those two platforms.

> I also tried indexing a small subset of the files on Net BSD.  Searches
> using this index worked fine, but for some reason the index was about
> twice the size of a comparable index built under Windows using the same
> files with the same options!  This makes me wonder if swish-e may be
> writting some variables in the index in a 64-bit form instead of 32-bit. 

Yes, that's probably the problem.

Bill Moseley
Received on Mon May 24 14:32:59 2004