XapianFu is a Ruby library for working with Xapian databases. It builds on the GPL licensed Xapian Ruby bindings, but provides an interface more in-line with "The Ruby Way"(tm) and is considerably easier to use. For example, you can work almost entirely with Hash objects, and XapianFu will handle converting the Hash keys into Xapian term prefixes when indexing and when parsing queries. It also handles storing and retrieving hash entries as Xapian::Document values. XapianFu basically gives you a persistent Hash with full text indexing (and ACID transactions).
Web Search Script can search the contents of a text file stored on your server by editing the script source code, or the file location can be left blank to allow your users to enter a URL to a text document stored on a remote Web server. Search results will be listed by line number, with contextual information surrounding the search term. Clicking search results will scroll the complete text in the right pane to the result's location in the complete text.