Displaying 20 results from an estimated 1800 matches similar to: "tcp deamon and remote connection"
2006 Oct 19
1
Writing with xapian-tcpsrv and php
Hi,
I think, there is missing constructor function supporting remote
writing for XapianWritableDatabase class in the php bindings (0.9.7).
This code:
$db = new XapianWritableDatabase(remote_open($db_host, $db_port),
$action);
returns:
Fatal error: No matching function for overloaded
'new_XapianWritableDatabase' (...)
$db = new XapianWritableDatabase($path, $action); works fine.
2010 Mar 19
2
xapian-tcpsrv php in real fastcgi loop
Hello,
i'm fresh new to xapian (and impressed.. fast, faster, xapian). And so i have
a problem with no solution at the moment.
I have a webapp based on php5 in a special fastcgi loop environment (thus
there are some loops spawned handling multiple requests so there is no need
for php to recreate classes and Objects all the time).
I implemented a xapian wrapper class to access a remote
2012 Mar 05
1
how to enable debugging
Ciao,
sorry for the silly question, but how do you enable debugging in
xapian? I'm using xapian-tpcsrc and would like it to print debugging
info (connections, queries, etc).
I'm configuring xapian 1.2.8 on OSX with "./configure
--enable-debug-verbose", then
$ export XAPIAN_DEBUG_FLAGS=-1
$ export XAPIAN_DEBUG_LOG=test.log
$ sudo xapian-tcpsrv /path/to/db --port 972
Starting
2006 Feb 08
1
xapian-tcpsrv very slow
Hi,
I have been looking at xapian for a project and have so far been very
impressed. I have hit one major problem the final architecture requires
that the web server be a deferent machine from the server that xapian is
installed on. With my test code using local database ($db_path =
"/var/xapain_db/default"; $db = new_database($db_path);) a query takes
around 0.012 seconds on
2012 Nov 14
4
xapian-replicate errors
Hi,
While trying to setup xapian replication (initially for backup
purposes), I'm encountering some errors.
Our "fresh" index starts replication, and ends up with an index size
that matches the replication master (4.5GB), but then throws :
"Getting update for fresh from fresh
xapian-replicate: NetworkError: Unable to fully synchronise: Database
changing too fast"
I
2006 May 20
2
xapian-tcpsrv need to reopen database?
Hi, I'm adapting the omega (in a Python way ;) to do search across multiple
remotes database, for now, I have only one xapian-tcpsrc running, but I have
documents being inserted at the same time, so (like I have readed in others
e-mails) the xapian-tcpsrc throw the following message:
Connection from 192.168.0.101, port 64161
Got exception DatabaseModifiedError: The revision being read has
2010 Sep 01
1
DatabaseLockError: REMOTE: unable to get write lock
Hi,
I'm using xapian(1.2.2) python interface to connect remote xapian-tcpserv daemon.
I'm starting the daemon as given below:
xapian-tcpsrv --port 9100 --interface 127.0.0.1 --writable ./xapiandb/
and in script.py:
import xapian as xa
db = xa.remote_open_writable('localhost', 9100)
# other stuff
# ...
script is a long running program, and when i try to run
2007 Oct 27
2
Remote database search issues
Hi all.
First, a note about remote database connection over Perl. We actually
found an easy way to work around the unwrapped Renote::open issue.. We
use a stub file.
You might say that open_stub in also not wrapped.. which is true...
HOWEVER... looking at the code, we realized that Database::open() opts
to using stub_open if the argument is a string pointing to a stub file
rather than a
2011 Sep 27
1
Rails 3.1 assets path for video player Flash script 'player.swf'
I was using a Flash video player within a previous Rails version app
Moving to Rails 3.1.0 , I dob''t know where I should put the script ...
I tried to move it into an app asset sub-directory
assets
- jwplayer
- - player.swf
but this raises an error
"NetworkError: 406 Not Acceptable - http://localhost:3000/assets/jwplayer/player.swf"
player.swf
the flash script is given as a
2007 Aug 23
1
Login-Problem with DFS-Share
Hallo,
I want to use several DFS-Shares from a M$-Server trough my Samba-Server
(3.0.20b-3.21-1370-SUSE on an OpenSchoolServer).
I've created symlinks in /export/dfsroot like:
lrwxrwxrwx 1 root root 19 2007-05-04 08:06 agbhome -> msdfs:172.18.160.10
lrwxrwxrwx 1 root root 20 2007-03-28 09:36 home -> msdfs:172.18.160.10\
lrwxrwxrwx 1 root root 43 2007-02-04 11:44 lehrer ->
2006 Mar 27
4
Remote databases and daemons
I've looked over the docs on remote backends, the protocol, and a bit
of the c++ for doing distributed and remote searches. I've got a
couple of questions:
* The remote protocol is usable only as a Database, not as a
WriteableDatabase -- is this correct? So, if I don't want my
application to have a copy of the database on the same machine I'll
need to write an indexer daemon on
2006 Apr 06
2
build error : xapian-core-0.9.4_svn6707
I posted this message first. But it was missing so I post again.
I think there is a some bug in build configration files.
Can you check up the following errors and fix it?
The error has no concern with UTF-8 patch.
Environment : CentOS 4.3 x86_64
Sungsoo Kim
----------------------------------
[root at saturn xapian-core-0.9.4_svn6707]# make
...
...
mkdir .libs/libxapian.lax/libqueryparser.a
2015 Apr 01
1
Remote protocol abstracted
I have been working in the abstraction of the remote protocol to separate
it from the server and the connection.
The purpose of this is I need to use the Xapian remote protocol in a server
we are working on (named Xapiand:
https://github.com/Kronuz/Xapiand) which is similar to some extent to the
`xapian-tcpsrv` in that it also serves
databases remotely through TCP, using the binary protocol. What
2016 Dec 12
1
testing
If the subject of xapian-core apitests on MSYS/MINGW and MSYS2/MINGW is taken up it might be noted that the compiler version could be recorded, probably gcc 5.3.0 or newer, that closed pipes might be an issue, and also allocating for the location of xapian-tcpsrv.
Not from my own tests but another man informed there was some problems with [MSYS2] python bindings.
I am not knowledgeable of the
2005 Mar 28
4
Problem with bindings and MinGW
Message body follows:
Hi,
I'm interested in Xapian as a possible search engine for a
Python project I'm developing. The reason why I write to you,
is that I saw that you've been fixing bugs... so please excuse
me if I'm bothering you: I saw no other contact on the
xapian.org web pages.
I've been spending the last two days trying to set up Python
bindings for the library
2005 Mar 28
4
Problem with bindings and MinGW
Message body follows:
Hi,
I'm interested in Xapian as a possible search engine for a
Python project I'm developing. The reason why I write to you,
is that I saw that you've been fixing bugs... so please excuse
me if I'm bothering you: I saw no other contact on the
xapian.org web pages.
I've been spending the last two days trying to set up Python
bindings for the library
2007 Mar 29
2
Re: [Xapian-commits] 7990: trunk/xapian-core/ trunk/xapian-core/bin/ trunk/xapian-core/tests/harness/
On Thu, Mar 29, 2007 at 03:39:01PM +0100, richard wrote:
> bin/xapian-tcpsrv.cc,tests/harness/testsuite.cc: First of many
> parts of a large patch from Mark Hammond working towards enabling
> remote databases on windows. When displaying errors which might
> be socket errors, display the error number as well as the output
> of strerror - on windows, strerror doesn't display
2009 Jun 23
1
Indexing more than 15 billion documents
Hi,
Sorry to follow up on an old thread, but I am wondering if there has
been any work done on, or interest in, increasing the maximum document
id beyond a 32bit limit?
Daniel
On Mon, Jun 18, 2007 at 04:11:54AM +0100, Olly Betts wrote:
> > In particular, there is currently a limit of 4 billion documents in a
> > database, due to using a 32 bit type for document IDs, but I don't
2009 Jun 21
2
CPU high usage
Hi
I am using Xapian 1.012 here, trying to optimise the search preformance.
My testing suit has 10M docs of forum threads,
DB only indexed the thread title, author name, category name, and 1 optional
serialize value(0) which is the unix dateline
DB_full indexed all the DB terms + thread contents
After couple tests, I decided to remove ALL anchor terms such as
SHOW_PUBLIC, MORE_IMPORTANT
2016 Jul 06
2
Xapian 1.4.0 released
I have installed the new Xapian 1.4.0 , during the installation, I
haven't seen any problems, however, when I execute commands quest and
delve I get different versions, and my Perl-based searches return
Exception: Couldn't detect type of database ... and what are these
glass things in the index directories? There is a no new version of
Perl Search::Xapian.
$ quest -version
quest -