Skip to main content. home | support | download  Back to List
Archive  Re: Indexing API  From: Peter Karman <karman(at)> Date:
Thu Jul 08 2004 - 03:11:38 GMT I believe I know what Tac is
referring to. I, too, have a system set up  that requires
indexing small document collections (in my case, a few XML
files from a database via -S prog, 100s of times a day) via CGI,
on-the-fly, and have thought a few times that it would be nice
to have  an indexing perl API similar to the search API to rely
on, instead of  making an external system() call to the swish-e
binary and creating tmp  ad hoc config files (since the
properties change depending on the db).  boy that was a long
sentence.  in the end, though, I think that the two processes
(indexing and  searching) are different enough that it doesn't
make sense to have both  APIs. Namely, the big advantage to the
search API is that you can make a  single connection to an index
and search it multiple times. Searching it  just once via the
API and once via the swish-e