[Xapian-tickets] [Xapian] #711: Remote protocol with support for selection of database directory
Xapian
nobody at xapian.org
Mon Mar 21 22:24:02 GMT 2016
#711: Remote protocol with support for selection of database directory
----------------------------------+------------------
Reporter: Kronuz | Owner: olly
Type: enhancement | Status: new
Priority: high | Milestone:
Component: Backend-Glass | Version:
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: All |
----------------------------------+------------------
If the user requests to open a remote database server, it could optionally
require the remote backend to tell the server what database it wants to
open; this is in case the remote server is configured as a server without
a default directory (xapian-tcpsrv remains to always have a default
directory at the moment).
The binary protocol was changed in the way that a new command can be sent
to the server (MSG_READACCESS) in case the server tells the client no
default directory is selected, the server then reacts to this command by
opening and selecting the requested database as the active database.
MSG_WRITEACCESS also could select a custom directory for write access.
The implementation of a way of telling a remote protocol server to select
the active read or write database is desirable for allowing integrations
to expose a custom remote server protocol which will permit the creation
of full-blown xapian servers with remote or clustering support to
efficiently access indexes remotely. An example of such kind of server is
Xapiand https://github.com/Kronuz/Xapiand, and this ticket complements
ticket #710.
--
Ticket URL: <https://trac.xapian.org/ticket/711>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list