Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] 2.4.6 for perl 5.10

From: saravanan K <saravani20(at)not-real.gmail.com>
Date: Fri Jan 30 2009 - 09:30:50 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_xapian/xapiandbs/development/"

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/HiLiter.pm 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?

Thanks
Saravanan K


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Jan 30 04:30:54 2009