Copyright (C) 2000-2012 |
Manpages MEDUSA-SEARCHDSection: Maintenance Commands (8)Updated: February 9, 2001 Index Return to Main Contents NAMEmedusa-searchd - daemon to perform medusa file system searchesSYNOPSISmedusa-searchd [ -d | --debug ] [ -n indexname | --named-index indexname ]DESCRIPTIONmedusa-searchd, which is normally run automatically from an init script or crontab, puts itself into the background and begins listening on the local socket /tmp/medusa-search-server. It must be run as root.This seems to be the protocol:
If the response for the server is, instead, ``Index Error'' or ``timeout error'' (with that capitalization), then the session has failed and is closed. Otherwise the client then tries to open the file /tmp/medusa-cookies/uid_pid and reads a single int, encoded in the local binary format, from it. The ASCII representation of that int is the cookie.
where search-uri is as documented in medusa-search-uri(7). It does not seem to be terminated by a newline.
If the server instead responds, ``Whole Database Matches'', ``Query returned no results'', ``Search URI obsoletes index'', or ``Search URI syntax error'' then the session is over. Otherwise, the server sends a series of matching patchnames, each terminated by a newline. After the last the server sends
OPTIONS
SEE ALSOmedusa-search-uri(7), medusa-indexd(8)
IndexThis document was created by man2html, using the manual pages. Time: 18:05:28 GMT, April 18, 2024 |