I vaguely plan to implement it at some point, but haven't needed it yet,
so haven't got around to it.
> whats needed to implement this? are there any particular features
implemented in the xappy python layers that depend on the local connection?
xappy currently stores the field configuration in a file in the database
directory. Obviously, to work with a remote database, this
configuration would need to be accessible remotely. The obvious thing
to do is change from storing the configuration in a file, and store it
in database metadata (which is a feature added in a recent release of
xapian), which should, theoretically, be accessible from anywhere that
the database is accessible. However, I'm not certain that that is
implemented yet for remote databases.
So, the steps required are:
1. Ensure that database metadata is implemented in xapian for remote
databases.
2. Change xappy to store its field configuration in database metadata
instead of in a file in the database directory.
3. Implement support for specifying a remote database when opening a
SearchConnection (or, indeed, an IndexConnection).
--
Richard
I vaguely plan to implement it at some point, but haven't needed it yet,
Kapil Thangavelu wrote:
> is there any planned or intended support for remote searchers?
so haven't got around to it.
> means, within the next several months. If you need it sooner, feel free to
> submit a patch (or sponsor someone to develop one)!
See http://code.google.com/p/xappy/issues/detail?id=29
I have something in these lines in my code currently.
I just got the configuration string from the database and stored it locally.
Thanks for a great product.
All the best,
--
Miki Tebeka <miki....@gmail.com>
http://mikitebeka.com
The only difference between children and adults is the price of the toys