[Xapian-discuss] tcp deamon and remote connection

Olly Betts olly at survex.com
Mon Jul 27 19:28:32 BST 2009

On Mon, Jul 27, 2009 at 08:36:07PM +0300, Sergey Kozhukhov wrote:
> > I can't see why you should get that though.  Perhaps if you can post
> > the smallest PHP test script which fails?
> Actually the test script which fails is one line:
> remote_open_writable("localhost", 5050);
> or
> remote_open("localhost", 5050);

I'm not sure what you're trying to do there.

This works for me:

    include "xapian.php";
    $db = Xapian::remote_open("localhost", 56781);
    print $db->get_doccount();

> The replication for read access is not a problem for us. The problem
> is how to organize one entrance for write queries? Cause each server
> has it's own replicated code.

Sorry, I'm not sure I follow.


More information about the Xapian-discuss mailing list