Skip to main content.
home | support | download

Back to List Archive

[swish-e] Xapian Index And Swish API

From: saravanan K <saravani20(at)>
Date: Fri Jan 30 2009 - 09:32:48 GMT
Hi Everybody,

I'm using Xapian search engine in my application. Unfortunately highlighting
is not available in Xapian.
Thats why i came here to use SWISH:API.

Xapian has some index files.

In order to use stemming options,  index files are needed in swish api.
Here i want to use Xapians index files into swish api.

xapian index file path = "/abcd/vendor/plugins/acts_as_

if i am using like

my $index = '/abcd/vendor/plugins/acts_as_xapian/xapiandbs/development/';
    open(S, "| swish-e -S prog -i stdin -f $index 1>/dev/null 2>/dev/null")
        or die "can't exec swish-e: $!\n";
    print S doc();
    close(S) ;

it gives

Index file error Couldn't open the property file
"/abcd/vendor/plugins/acts_as_xapian/xapiandbs/development/.prop": No such
file or directory at /usr/local/share/perl/5.10.0/HTML/ line 1639.

I dont have any property files in that folder. I really dont know how to use
it. Its nightmare for me :( .

Can any one help me?

Saravanan K

Users mailing list
Received on Fri Jan 30 04:32:50 2009