It’s just data

Python interface to swish-e

SWIG rocks!

I took a look at swish-e.  It doesn't have the annoying tendency to ignore any words of three characters or less.  That means I can now search for Don Box.

I also now have a direct API instead of piping queries through the shell, and having to worry about the security implications of not having escaped all the shell characters properly.  This means that I can do interesting queries like mark pilgrim not "mark pilgrim".

Here's the code.


Cool.  The indexing is slower, but seems more comprehensive. 

Now all I gotta do is get the SWIG PHP interface up and running...

Posted by David Sifry at

Darn, SWIG support for PHP justisn't there yet.  Lots of missing files.  Looks like I'm going to have to write a daemon in perl and just connect that way. :-(

Posted by David Sifry at

i wrote a php interface for swish-e (or was it just swish?) once upon a time. it should be even easier now that there's a proper library version of swish-e. especially if you were at one of my sessions about writing php extensions at the two php-con's. i'd offer to whip one up, but don't have the hours to rub together.

other alternatives to consider are mnogosearch or mysql's full-text search (which is what i use on my site).

Posted by jim winstead at

I found writing a PHP extension to be fairly easy, even without the benefit of going to a Jim Winstead session.  ;-)

My biggest hurdle these days is logistics.  The last time I checked, on Windows, a back level of VisualStudio is required to develop.  On Linux an uplevel version of libtool (or somesuch) is required.

Posted by Sam Ruby at

Dynamic language angst

I wonder if it's just me, or whether the community that I frequent has this on its collective consciousness, but I've been spending quite a bit of time wondering about the benefits of dynamically typed languages. Sam Ruby pointed me to SWIG, which...

Excerpt from IUnknown.com: John Lam's Weblog on Software Development at

another Swish-e interface:
http://jibe.freeshell.org/bits/SwishE/

Posted by rayg at

2004-04-07 links

a href=http://www.intertwingly.net/blog/1425.html title=A direct API for Swish....

Excerpt from dealmeida.net at

Dynamic language angst

I wonder if it's just me, or whether the community that I frequent has this on its collective consciousness, but I've been spending quite a bit of time wondering about the benefits of dynamically typed languages. Sam Ruby pointed me...... [more]

Trackback from iunknown.com

at

Sam Ruby: Python interface to swish-e

[link]...

Excerpt from del.icio.us/tag/ruby at

Connect the install this amazing log of the window 10 best version for the web users you can need to access in the start menu and getting the save data easily through it in the system very nice information for the all web users thanks.

Posted by windows login windows 10 at

Add your comment