[Xapian-discuss] Converting MySQL database to Xapian

Sym Roe sym.roe at talusdesign.co.uk
Fri Apr 26 14:25:59 BST 2013


On Fri, Apr 26, 2013 at 2:22 PM, James Aylett <james-xapian at tartarus.org> wrote:
> On 26 Apr 2013, at 14:12, Michael Lewis <mal at icginc.com> wrote:
>
>> My first question is: On ServerY and the Web Server how do I set-up Xapian for access. In the PHP code do I have to actually know where the databases are located or is that the function of some kind of stub database? In an ideal world the stub database file would contain a xapian db segment name and a host address and port where the actual segment resides.
>
>
> Michael, you should check out:
>
>  * http://xapian.org/docs/remote.html (remote backend documentation)
>  * http://xapian.org/docs/overview.html#specifying-a-database (talks about stub databases, which you'll want to use with the remote backend)

Also the API doc for database:

http://xapian.org/docs/apidoc/html/classXapian_1_1Database.html#2fc5aa368a7097ca787a831211a2e3bc

Just call add_database for each db you have, and then a search will
work over all of them (I think)

--
E: sym.roe at talusdesign.co.uk
M: 07742079314
@symroe



More information about the Xapian-discuss mailing list