search for: xapian_debug_log

Displaying 4 results from an estimated 4 matches for "xapian_debug_log".

2018 Jun 09
1
output debug information of LOGCALL_CTOR/LOGCALL_VOID/...
...gt; wrote: > Many functions in xapian can be traced when they are called using LOGCALL_CTOR/LOGCALL_VOID/... and I want to output the debug information. In xapian-core/HACKING in the source code there's a section on this. As well as pass --enable-log to configure, you also need to: * set XAPIAN_DEBUG_LOG to be the path to a file that you would like debugging output to be appended to, or to the special value ``-`` to indicate that you would like debugging output to be sent to stderr. Unless XAPIAN_DEBUG_LOG is set, no debug logging will be performed. Occurrences of %p in XAPIAN_DEBUG_L...
2018 Feb 08
7
How to ensure thread-safety
Hi, I have read the concurrency webpage from the Xapian documentation: http://getting-started-with-xapian.readthedocs.io/en/latest/concepts/concurrency.html But it is still not clear to me how to ensure thread-safety when using libxapian (C++ API). Usually when doing multi-threading many threads can read the same variable concurrently without locking provided none of the threads modifies the
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 Mar 05
1
how to enable debugging
...e 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 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 exc...