search for: matchspy

Displaying 17 results from an estimated 17 matches for "matchspy".

2010 Aug 28
1
Matchspy and faceting
...Mexico might be tagged 'Subscribers only' (access level), 'Barack Obama' (person), 'Tony Hayward' (person), 'BP' (company), 'Transocean' (company), 'Gulf of Mexico' (location). With some advice from Richard Boulton I started looking at using the Matchspy branch for calculating facet suggestions. I have used the stringlistserialiser to place a list of all the tags in each taxonomy in value slots, one per taxonomy, and then a multivaluecountmatchspy on the search side. However, I have a few questions. 1.I thought the method on the MVCMS was get...
2010 Dec 01
2
Using a subclass of MatchSpy in Python bindings
Hi everyone, I've searched the mail archives and I haven't been able to find a solution to this. I want to subclass a MatchSpy in the Python bindings and have Enquire use it. However, when I try to do so, I get a TypeError raised. The following example illustrates this: >>> import xapian >>> database = xapian.Database(dbpath) >>> class MyMatchSpy(xapian.MatchSpy): ... def __init__(self): ......
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 able to update it ag...
2015 Aug 19
0
Perl bindings and MatchSpy
On Wed, Aug 19, 2015 at 05:31:31PM +0700, Andreas Marienborg wrote: > 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
...e 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 port? the changes to this branch. I managed to wrap the ValueCountMatchSpy, and write tests to ensure it is working. In the original code there was also some code for PerlMatchSpy, but I did not manage to get this working yet. My XS/C-skills are rather limited unfortunately. If someone with more XS-exerpience could take a look and provide some feedback, that would be gr...
2015 Aug 28
0
Perl bindings and MatchSpy
...ith more XS-exerpience could take a look and provide > some feedback, that would be great. Looks plausible to me. I'd suggest that ~Enquire_perl() just call ref_clear_matchspies(NULL); rather than repeating all its code inline. > I created a pull request[1]. I would like to get the PerlMatchSpy thing > working as well, but it might be better to get the wrapping of the? > ValueCountMatchSpy merged/released regardless of the PerlMatchSpy > thing? The classes like perlMatchDecider are there to support passing a code reference in Perl where the C++ API wants a functor object. But X...
2011 Jul 07
1
return values in groups - price range groups
Hi colleagues, I have a simple product database indexed with Xapian. Amazing free tool, thanks you developer(s)! I need to have a way to return prices of products in groups, say I have prod prices: 1.01 1.03 10.01 250.44 260.33 I need to get it to return something like: Group 1 = 1.01 ? 1.03 Group 2 = 10.01 etc. Maybe there is something build-in Xapian that can do
2010 Feb 01
2
Xapian core dumping on Solaris
Hi everyone, I'm having a problem with xapian (the matchspy branch, with Python bindings) on Solaris 10 / SPARC. Users can run queries for a few hours with no problems, then it returns "inflate failed (invalid code lengths set)" to Python and dumps core. gdb reports: #0 0xfe6dc910 in inflate_table () from /usr/lib/libz.so.1 #1 0xfe6d9d6c in in...
2011 Apr 02
1
Xapian docs (was Re: Xapian-discuss Digest, Vol 83, Issue 2)
...ing this with my colleagues here > and one of the issues that came up is that we'd love Xapian to become > really lot more popular but have found that the documentation's a bit > difficult to get into, as is the API. I agree. There are a few gotchas, as well as branch stuff like matchspy that is phenomenally useful, but largely undocumented and therefore underused. (though by the looks of it matchspy is now in core). I actually find the API docs to be a comprehensive reference, which is a great start - I've recently been trying to use various RabbitMQ wrappers for PHP and its...
2011 Jan 17
2
DatabaseCorruptError
...n occasionally when atempting to instantiate a XapianDatabase object for searching. DatabaseCorruptError: Expected block 107 to be level 1, not 0 Here's the line that invokes it: $database = new XapianDatabase(PROJROOT.'/data/xapian/posts'); And my version is xapian-core 1.2.3 with matchspy. Any ideas? Is it likely to be because the index is being updated by the indexer at the same time? Is there a way to avoid getting the above error? To be clear, it does work most of the time, but very occasionally throws the above. Andrew
2010 Feb 01
0
Solaris core dump
Hi everyone, I'm having a problem with xapian (the matchspy branch, with Python bindings) on Solaris 10 / SPARC. Users can run queries for a few hours with no problems, then it returns "inflate failed (invalid code lengths set)" to Python and dumps core. gdb reports: #0 0xfe6dc910 in inflate_table () from /usr/lib/libz.so.1 #1 0xfe6d9d6c in in...
2013 Aug 21
2
Perl interface isn't working in 1.2.x
...empty hash 1 Search::Xapian::MSetIterator=HASH(0xe0af08) empty hash 2 Search::Xapian::MSetIterator=HASH(0xe0af80) empty hash 3 Search::Xapian::MSetIterator=HASH(0xe0aff8) empty hash 4 Search::Xapian::MSetIterator=HASH(0xe0b070) empty hash I noticed that there is a new MatchSpy class that seems to replace what I was doing, but I have no idea how to implement it in perl. If that's the fix a simple sample code would be nice. Thanks, Jim.
2014 Apr 13
2
Adding an external library to Xapian
...17:50:07.000000000 +0530 @@ -22,6 +22,10 @@ * USA */ +// TODO remove it afterwards +#include <iostream> +#include <fstream> + #include <config.h> #include "xapian/enquire.h" @@ -650,7 +654,16 @@ const MatchDecider *mdecider, const MatchDecider *matchspy_legacy) const { - LOGCALL(MATCH, MSet, "Enquire::Internal::get_mset", first | maxitems | check_at_least | rset | mdecider | matchspy_legacy); + /* + cout << "In Enquire::Internal::get_mset" << endl; + // For now usind DB's UUID to record logs + string logname...
2014 Apr 13
2
Adding an external library to Xapian
My code is not on Github. I am using the tarball as of now. The following it the error that occurred: http://pastebin.com/cVJrjUZX On Sun, Apr 13, 2014 at 8:16 PM, James Aylett <james-xapian at tartarus.org>wrote: > On 13 Apr 2014, at 15:37, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > A linker error is encountered even after following the above
2008 Sep 10
1
mu-0.2, maildir indexer/searcher with xapian support
Hi all, [ Hopefully announcements like this are appropriate here... ] I've just released version 0.2 of my maildir scanner/search called 'mu': http://www.djcbsoftware.nl/code/mu/ It it's written in C and a bit of C++, and released under the GPL. Thanks for the help I got here, it was quite easy to integrate Xapian, and it works really nice -- a high quality product. Great job!
2017 Mar 15
2
xapian core missing link to math on MSYS2
...gw32/6.3.0/crtbegin.o api/.libs/compactor.o api/.libs/constinfo.o api/.libs/decvalwtsource.o api/.libs/documentvaluelist.o api/.libs/editdistance.o api/.libs/emptypostlist.o api/.libs/error.o api/.libs/errorhandler.o api/.libs/expanddecider.o api/.libs/keymaker.o api/.libs/leafpostlist.o api/.libs/matchspy.o api/.libs/omdatabase.o api/.libs/omdocument.o api/.libs/omenquire.o api/.libs/positioniterator.o api/.libs/postingiterator.o api/.libs/postingsource.o api/.libs/postlist.o api/.libs/query.o api/.libs/queryinternal.o api/.libs/registry.o api/.libs/replication.o api/.libs/smallvector.o api/.libs/so...
2020 Mar 22
0
Unable to build RPM for Centos 7
...ry.h include/xapian/deprecated.h include/xapian/derefwrapper.h include/xapian/document.h include/xapian/enquire.h include/xapian/errorhandler.h include/xapian/eset.h include/xapian/expanddecider.h include/xapian/intrusive_ptr.h include/xapian/iterator.h include/xapian/keymaker.h include/xapian/matchspy.h include/xapian/mset.h include/xapian/positioniterator.h include/xapian/postingiterator.h include/xapian/postingsource.h include/xapian/query.h include/xapian/queryparser.h include/xapian/registry.h include/xapian/stem.h include/xapian/termgenerator.h include/xapian/termiterator.h include/xa...