similar to: Perl bindings and MatchAll / MatchNone

Displaying 20 results from an estimated 4000 matches similar to: "Perl bindings and MatchAll / MatchNone"

2008 Sep 27
3
Query::MatchAll
Why there still been rank when using Query::MatchAll() ?
2018 Apr 08
0
core dumped when using MatchAll in multi-threads
Hi, We have a search service based on xapian, when receving a request, we create several threads to create xapian-query and search in the corresponding databases, and then merge all results together. In some case, we use Xapian::Query::MatchAll to create the query, but it always has Segmentation fault (core dumped). It looks like some pointers are double freed. This is the function that we use
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 Dec 06
1
Bug and patch for +terms with wildcards
In current Xapian SVN HEAD, there is a bug in the query parser concerned with the handling of wildcard terms with a "+" prefix. Specifically, a query such as "+foo* bar" will be parsed by the query parser into Xapian::Query("bar") if there are no terms in the database which start "foo". Instead, since the "+" term cannot be matched, I believe
2010 Dec 28
1
Printing all records when search is not present
Hi, I want to print all the records from the passed database when the search string is not present. I quickly skimmed through the API but I couldn't find a way to do it. Can someone show some pointers. Thanks, Shri
2011 Apr 12
1
How to rebuild database from scratch without preventing searches
I have a process which wants to recreate a database nightly (it takes ~10 minutes, and is much faster than trying to figure out what to remove and add from the existing contents). However, opening the database with the flag DB_CREATE_OR_OVERWRITE destroys the existing database and prevents searches from taking place until the rebuild process is finished. We'd like to rebuild the database
2013 Jun 19
2
Compact databases and removing stale records at the same time
I'm trying to compact (or at least merge) multiple databases, while stripping search records which are no longer required. Backstory: I've inherited the Cyrus IMAPd xapian-based search code from Greg Banks when he left Opera. One of the unfinished parts was removing expunged emails from the search database. We moved from having a single search database to supporting multiple
2008 Mar 04
2
Matchers tutorial ...
I am looking for a good a - z matchers tutorial . Anyone got a url for one? Thanks Anthony Broad-Crawford -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080303/fd652444/attachment-0001.html
2013 Jan 07
3
Samba 4 "Services for UNIX"?
I have a working Samba 4.0.0 AD DC running and am able to manage users etc using the Windows tools. Great. Now I want to as much as possible eliminate the need for an additional directory service (OpenLDAP and/or Open Directory) if not entirely. I need automount working and Posix users. I believe it's possible to set this up but haven't been able to find any solid documentation - Can
2015 Aug 19
2
Perl bindings and MatchSpy
Hey I?m cleaning up some code at my work place, and it turns out someone had forked Search::Xapian and added MatchSpy bindings for it for one of our internal projects. I was wondering if I should try to extract this as a patch against the current Search::Xapian code, and submit it, or if that is not wanted/wasted effort? It seems to be against 1.2.4.n of Search::Xapian, but I think I should be
2015 Aug 25
2
Perl bindings and MatchSpy
On 19 August 2015 at 20:55:32, Olly Betts (olly at survex.com) wrote: On Wed, Aug 19, 2015 at 05:31:31PM +0700, Andreas Marienborg wrote: > If I want to create a patch, should it be against the xapian-bindings > directory/repo? or somewhere else? Against the search-xapian directory of the git repo would be best. Hey, I made a branch from svn/1.2 on github, and tried to forward
2005 Sep 08
4
Does anyone use VMWare 4.5.2 on CentOS 4?
I'm trying to use my copy and whenever I reboot I have to reconfigure everything again using vmware-config.pl. Any idea why I might have to do this? Is there something about the way services are setup under CentOS 4 or something? Preston
2007 Jul 24
1
function optimization: reducing the computing time
Dear useRs, I have written a function that implements a Bayesian method to compare a patient's score on two tasks with that of a small control group, as described in Crawford, J. and Garthwaite, P. (2007). Comparison of a single case to a control or normative sample in neuropsychology: Development of a bayesian approach. Cognitive Neuropsychology, 24(4):343?372. The function (see
2006 Feb 24
3
Summarize by two-column factor, retaining original factors
I am having trouble doing the following. I have a data.frame like this, where x and y are a variable that I want to do calculations on: Name Year x y ab 2001 15 3 ab 2001 10 2 ab 2002 12 8 ab 2003 7 10 dv 2002 10 15 dv 2002 3 2 dv 2003 1 15 Before I do all the other things I need to do with this data, I need to summarize or collapse the data by name and year. I've
2006 Mar 30
1
warning message in hand-made function
Dear Rusers, I tried to implement a function comparing mean scores between one subject (the patient) and a group a control subjects. The function returns attended results, but I also obtained the following warning : Warning message: the condition has length > 1 and only the first element will be used in: if (substr(fp, 1, 1) == "<") fp else paste("=", fp) Maybe
2010 Nov 22
5
perl bindings
Hi All, When are the XS-based Perl bindings going to be deprecated in favour of the SWIG bindings? Please remove the dead RHEL RPMs from: http://xapian.org/download I've built RPMs for RHEL5/CentOS5 (with a different signing key) here: http://rpm.eprints.org/xapian/5/ RHEL4 is eol and shouldn't be used. For my own convenience I have written an RPM for the repository: rpm -ivh
2005 Oct 23
4
Anyone use a Rio Cali Sport with CentOS 4.2?
My wife does and here's the problem. It automatically mounts the flash memory of the player. But it doesn't mount the SD card slot. I used Ubuntu 5.10 recently and it mounted both of them. Both as separate USB sticks. How do I get CentOS to do the same thing? Or can it not discern that two USB flash devices are plugged in? Preston
2010 Dec 19
2
Problem with requiring client certificates for external connections
Folks, I'm trying to configure my dovecot installation to require client certificates for external/Internet connections, while still allowing my local network to not need certificates. This configuration is for Dovecot 2 (2.0.8 in Fedora 14), and I've tried to use the "remote" block to give different definitions for my local network vs the defaults. While most options seem to
2013 May 26
4
Xen on CentOS 6.4
I heard talk of a centos-supported xen dom0 for CentOS 6.4, but I haven't heard talk of such a thing lately, and I haven't seen where to download it, which could just be me being stupid.
2020 Nov 16
4
set_max_expansion in perl-bindings?
Hi, I've just noticed that set_max_wildcard_expansion() has been removed in favour of set_max_expansion() in Xapian. Has the new method been added to the Perl-bindings? We have some old Perl code that uses set_max_wildcard_expansion(), and I have a test of too large expansion that now returns "something terrible happened" instead of"Exception: Wildcard ... expands too much