hey all, anyone using SearchGenerator / SimpleSearch to search static content (i.e. dumps of URLs in their sites?) I''m keeping a bunch of simple XHTML content snippets in view right now... Also considering integrating xapian depending on our results with SimpleSearch. Goddamn rails is good. Compliments to its creators. :) When I''m done with this app, I''m going to dig through binarycloud and try and do a brain dump of the ideas in BC that should be in rails (if something good or better doesn''t already exist in it...) I will never touch another dirty line of PHP on a new project. _a -- alex black, founder the turing studio, inc. 510.666.0074 root-16h2cdTTKgpzNNFeSAH1EA@public.gmane.org http://www.turingstudio.com 2600 10th street, suite 635 berkeley, ca 94710
On Tue, Apr 26, 2005 at 12:42:07AM -0700, alex black wrote:> hey all, > > anyone using SearchGenerator / SimpleSearch to search static content > (i.e. dumps of URLs in their sites?) I''m keeping a bunch of simple > XHTML content snippets in view right now...Currently search_generator is bound to the ActiveRecord Models in your rails application. So molding it into something to do the static content would take some alteration, but it would be pretty easy. There''s not too much code in there. The other item to keep in mind is that SimpleSearch is well, a simple search :-). From what I have looked through on the code, it is not going to do any markup parsing/stripping. So it will index your markup in the xhtml files too. Chad or Dave could speak more authoritatively on this, since its their code.> Also considering integrating xapian depending on our results with > SimpleSearch.I just took a look at that, Ruby wrappers around xapian could be very cool. [...] enjoy, -jeremy -- ======================================================================= Jeremy Hinegardner jeremy-eg9WJcVQRd1EMKyauTCisw@public.gmane.org
Jeremy Hinegardner <jeremy@...> writes:> I just took a look at that, Ruby wrappers around xapian could be very > cool.Xapian already has SWIG wrappers for several languages, so producing SWIG wrappers for Ruby should be fairly straightforward if you know Ruby well. I''m certainly happpy to help out with the Xapian and SWIG side. Cheers, Olly (Xapian developer)