You can download a copy of the Fins FullText application http://hww3.riverweb.com/dist/Fins/FullText.zip. You'll also need Fins and the http://modules.gotpike.org/getmodule.pike/Public.Xapian module for Pike installed. FullText will create an index directory called "ft" wherever you run it from, so you should always change directories to the same place before you start it. There are no settings, so just fire it up:
pike -x fins start FullText --port 8901
> object x = Protocols.XMLRPC.Client("http://localhost:8124/update/"); > x["new"]("http://my.url.com"); (2) Result: ({ /* 1 element */ 0 })
// add a new document to the index. // returns the document's uuid. string add(string index, string title, int date, string contents, string handle, string|void excerpt) int delete_by_uuid(string index, string uuid) int delete_by_handle(string index, string handle) void new(string index)
array search(string index, string query, string field, int start, int max)