search for: tcpsrv

Displaying 20 results from an estimated 21 matches for "tcpsrv".

2010 Mar 19
2
xapian-tcpsrv php in real fastcgi loop
...ment. 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 database provided by xapian-tcpsrv using this command: xapian-tcpsrv --port 5050 --writable /var/lib/xapian/objects/ I indexed all ths stuff we need and tested the search. Fast and furious, but i randomly get: REMOTE:Unable to acquire database write lock on /var/lib/xapian/objects/: already locked First, this is a connection t...
2007 Oct 27
2
Remote database search issues
...ssh is configured properly. ftsuser is allowed to ssh without a prompt (using proper key files). database is in the right location.. the error seems to be from the parsing of the line. What are we doing wrong? whats the right format for remote over xapian-progsrv? 2) We tried remote search over tcpsrv... which we can not really use besides for testing, until it supports parallel searches, which is something xapian-progsrv does support as far as we understand. search speed was bad. A search for a single word (like gift) takes well over a second for the first search. something that fast when ru...
2006 Feb 08
1
xapian-tcpsrv very slow
...h = "/var/xapain_db/default"; $db = new_database($db_path);) a query takes around 0.012 seconds on the same machine with the connection changed to use tcp ($db = remote_open('127.0.0.1',3055);) the same query takes 129 seconds or times out. I am currently trying to follow tcpsrv via the debuger however so far everything looks reasonable ! Any ideas would be well received. environment: HP G4 2X3.6Ghz 2Gb ram, mandrake 2005, xapian 0.9.2 Roger -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.15.2/252 - Relea...
2006 Oct 19
1
Writing with xapian-tcpsrv and php
...ase 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. xapian-tcpsrv is running with --writable parameter. Tom
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 another instance, i get : xapian.DatabaseLockErr...
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
2006 Mar 27
4
Remote databases and daemons
...Database -- 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 the remote machine and talk to it over TCP if i want to be able to remotely index? * The socketserver.cc and the corresponding xapian-tcpsrv looks like it blocks, even for reads. As far as I know, Xapian currently supports "single-write, multiple-reads" of the database, which means the tcpserver could be doing more. Am I mistaken in thinking that a read will block another read with the tcp server? I'm building an applic...
2015 Apr 01
1
Remote protocol abstracted
...e 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 is different about it is that it can serve any number of databases using an event driven mechanism for receiving and attending clients. Additionally, it also serves clients using a custom HTTP protocol which is...
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
2009 Jul 23
1
tcp deamon and remote connection
Hi, I'm trying to use xapian from php script with TCP daemon. I started TCP daemon: xapian-tcpsrv --port 5050 --writable /path-to-db When I trying to get access to it within my php-script with remote_open_writable("localhost", 5050) or remote_open("localhost", 5050) apache fails with signal 11: dev kernel: pid 35923 (httpd), uid 80: exited on signal 11 TCP demon also show...
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 packages and/or files utilised with MSYS/MINGW and/or MSYS2/MINGW to resolve a hostname, however, maybe a xapian-core compile and run of 'make check' under M...
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 doe...
2020 Mar 22
0
Unable to build RPM for Centos 7
.../usr/lib64' ?/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' ? /bin/sh ./libtool?? --mode=install /usr/bin/install -c bin/xapian-delve bin/xapian-check bin/xapian-compact bin/xapian-progsrv bin/xapian-replicate bin/xapian-replicate-server bin/xapian-tcpsrv examples/copydatabase examples/quest examples/simpleexpand examples/simpleindex examples/simplesearch examples/xapian-metadata examples/xapian-pos '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' libtool: warning: 'libxapian.la' has not been installed in '/usr/...
2007 Feb 07
0
ftss project (was: The dificult of develop an "Solr-like" to Xapian)
Hi all, I'm (still) need(ing) something like Solr[1] to Xapian, to make it I have 2 options, extend xapian-tcpsrv or re-implement ftss project[2], the problem of ftss is that it is 5 years old, and there's lots of changes into Xapian library (and also libc), what is the best way to implement a Solr-like server to Xapian? Did you done some progress Philip Neustrom? [1] - http://lucene.apache.org/solr/ [2]...
2012 Mar 05
1
how to enable debugging
...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 server on port 972 Listening... Connection from 127.0.0.1, port 48102 Connection from 127.0.0.1, port 48358 Got exception NetworkError: Received EOF (context: /path/to/db) Closing connection. Connection from 127.0.0.1, port 48614 Got exception NetworkError: Received...
2016 Jul 09
0
Xapian 1.4.0 released
...tch.org/blfs/view/svn/general/xapian.html Installed Programs: copydatabase, delve, quest, simpleexpand, simpleindex, simplesearch, xapian-check, xapian-chert-update, xapian-compact, xapian-config, xapian-inspect, xapian-metadata, xapian-progsrv, xapian-replicate, xapian-replicate-server and xapian-tcpsrv On Wed, Jul 6, 2016 at 1:15 PM, Kevin Duraj <kevin.duraj at zefr.com> wrote: > 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...
2013 Mar 05
1
Remote database & local database, and adding new weight found vtable error
...e different: both methods use DB1, DB2 method 1: Xapian::Database db = Xapian::Database(the path of DB1); Xapian::Database db2 = Xapian::Database(the path of DB2); db.add_database(db2); I pre-load the docid and its document data into dictionary DT1; method 2: DB1 and DB2 are opened by Xapian-tcpsrv for remote access. Xapian::Database dbr = Xapian::Remote::open(host of DB1, port of DB1, 0, 0); Xapian::Database dbr2 = Xapian::Remote::open(host of DB2, port of DB2, 0, 0); db.add_database(dbr2); Here dictionary DT2 holds the docid and its document data. ============= Q2. I want add a weigh...
2006 Aug 06
1
How to use omega to search remote back end?
...rmlist.baseA -rw-r--r-- 1 oscar oscar 53789 Jul 12 19:07 termlist.baseB -rw-r--r-- 1 oscar oscar 0 Jul 12 21:40 value.DB -rw-r--r-- 1 oscar oscar 13 Jul 12 21:40 value.baseA -rw-r--r-- 1 oscar oscar 14 Jul 12 21:40 value.baseB oscar@epsilon:/svr/xapian$ xapian-tcpsrv --port 33333 /svr/xapian/beta Opening server on port 33333... epsilon:/svr/xapian# cat /etc/omega.conf database_dir /svr/xapian/stub template_dir /var/lib/xapian-omega/templates log_dir /var/log/xapian-omega cdb_dir /var/lib/xapian-omega/cdb epsilon:/svr/xapian# cat stub remote localhost:33333 e...
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 -
2016 Dec 14
1
testing
...ndblad wrote: > 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. That's unhelpfully vague, but perhaps this patch helps with "closed pipes"? https://github.com/ojwb/xapian/commit/43af24c4a39819463621e9f8494cf7fdd30736e4...