Skip to main content.
home | support | download

Back to List Archive

[swish-e] Using same Swish index file between platforms

From: Kuppuraj, Ravikiran <Ravikiran.Kuppuraj(at)not-real.deshaw.com>
Date: Wed Feb 18 2009 - 14:51:15 GMT
> Hi,
> 
> I am using Swish-e 2.4.4. The main goal is, I need to have a single
> index file generated, but needs to be accessed from  swish-e binaries
> built on 
> (1) Linux 32-bit machine
> (2) Linux 64-bit machine
> (3) Windows 32-bit machine.
> 
>  Initially, I built swish-e on 32-bit Linux machine with the folowing
> configure options and also generated a swish index file using the same
> binary. 
> configure --prefix=/u/kuppurar/swish_64bit --with-zlib
> --with-libxml2=/software/lib/Linux-x86/libxml2 --with-pcre
> 
> Later, I built swish-e on a 64-bit Linux machine. Now when I used the
> 64-bit swish binary to search the index file generated by 32-bit swish
> binary, I got the following error:
> "err: Index file error: ...has an unknown format"
> Then I built the swish-e on 32-bit linux machine with 64-bit file
> support i.e with the following configure options added
> "CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'"
> configure --prefix=/u/kuppurar/swish_64bit --with-zlib
> --with-libxml2=/software/lib/Linux-x86/libxml2 --with-pcre
> CPPFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
> 
> Now when I used this swish-e binary (built on 32-bit machine with
> 64-bit file support) to search the index file generated by 32-bit
> swish binary, I got a different error:
> "err: Index file(s) is empty"
> 
> As a last step, I generated swish index file using swish-e binary
> (built on 32-bit machine with 64-bit file support) but when I searched
> this index file using the windows 32-bit siwsh-e binary, I again got
> the same error:
> "err: Index file(s) is empty"
> 
> Now some how I need to generate one single index file that can be
> searched by the swish-e binaries built on
> (1) Linux 32-bit machine
> (2) Linux 64-bit machine
> (3) Windows 32-bit machine.
> 
> Thanks
> Ravikiran
> 
> 
> 
> 
> 
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Feb 18 09:51:19 2009