Ferret search engine as a daemon?

Hello, I just found out about Ferret. I am searching for
good/capable/fast
search engine, but I also would want to talk to the search engine using
TCP.
Is there a way to run the search engine as a daemon so that it handle
the
request over sockets?

Kind regards
Zach

I have not heard of such a feature being built-in, but it would not be
difficult to code. You could just write a small ruby program that
listens
on a port, accepts a search string, feeds it to Ferret, formats Ferret’s
results, and sends back a response.