Displaying 20 results from an estimated 24 matches for "matchdeciders".
Did you mean:
matchdecider
2010 Jun 08
1
PHP MatchDecider in 1.2.0
Good afternoon
I would like to ask if is possible in new version of Xapian some kind of
subclasing MatchDecider in PHP. I am developing application where is
very complex permission management. so it cannot be stored in fultext
database. MatchDeciders are perfect for this purpose. But I dont know if
is possible to use them in PHP even if SWIG now supports directors.
Now Iam using ValueSetMatchDecider which takes array of visible objects
ids and compare them to some document value. But its not ideal, Own
MatchDecider would allow me just call...
2012 Mar 20
2
Writing a MatchDecider and exposing it to PHP
I would like to write a MatchDecider in C++ and expose it to PHP.
I'm able to compile a simple extension and use SWIG to expose a simple
function to PHP, but I can't seem to hit upon the right incantation to
expose my MatchDecider class.
I have a header file declaring my decider, MyDecider.h
#ifndef _INC_MYDECIDER_H
#define?_INC_MYDECIDER_H
#include <xapian/enquire.h>
2007 Apr 20
1
ExpandDecider and MatchDecider operator() return type
Currently ExpandDecider::operator() and MatchDecider::operator() return
`int' for no very good reason that I can see. It would be more natural to
return `bool', since these classes are making a "yes/no" decision about
whether to include a term in an ESet or a document in an MSet.
The problem is that this can't be done without breaking existing user
code which defines
2010 Dec 16
1
Enquire::get_mset() "first" and MatchDecider
Hello,
This is a somewhat idle question about Enquire::get_mset(), possibly based
on wrong assumptions on how Xapian works, but I would be grateful if
someone satisfied my curiosity.
Xapian::MSet Xapian::Enquire::get_mset(Xapian::doccount first,
Xapian::doccount maxitems,
const Xapian::RSet * omrset = 0,
const
2018 Jan 11
0
use xapian.Query.OP_VALUE_RANGE or use xapian.MatchDecider?
HI, We have an index database of products, about 20 million. We had constructed the title and description of products into posting list, and also stored some values of properties into slot, such as the price, comment count, production date, click number of the products.
Now we want select some products which satisties specific condition, such as contain the term of "shirt" and
2017 Dec 05
1
How to enhance the query performance for large boolean attribute
Hi all,
I am a new user to Xapian, and now we met such problem. In our case, a document has many attributes which is boolean value, for example( A, B, C ) , and our search query will use certain filter logic ( A == true and B == false ..) to combine with other search logic.
We use MatchDecider to implement the filter logic, and now we met some performance problem, because our self-defined
2006 Jul 25
2
weight scheme with document values
Hi guys,
I resently used xapian to sort some documents by distance between 2
points.
I implemented a MatchDecider which work well.
I now tried to implement a Weight scheme to put my document in ascending
order depending on the distance...
My information to calcul distance is in values in the document.
How I can access document values from Weight to be able to add some
sum_extra weight ??
2017 Mar 09
3
Inconsistent query results
"Kirill A. Shutemov" <kirill at shutemov.name> writes:
> Hello,
>
> I found that on particular queries notmuch return different results if run
> the query few times. Re-initialing the query or db doesn't help.
>
> I've attached test case along with corpus of messages.
>
> Unpack the archive and run `make' there. It will initialize the notmuch
2014 Apr 13
2
Adding an external library to Xapian
We are using the --enable-maintainer-mode and will move to git soon.
The diff file is attached.
*Siddhant Mutha*
Undergraduate Student
Department of Computer Science and Engineering
IIT Madras
Chennai
http://www.siddhantmutha.com/ <http:/www.siddhantmutha.com/>
On Sun, Apr 13, 2014 at 8:26 PM, James Aylett <james-xapian at tartarus.org>wrote:
> On 13 Apr 2014, at 15:48, Pallavi
2017 Dec 15
5
How to get the serialise score returned in Xapian::KeyMaker->operator().
HI, all,
I am a user of Xapian, and now I have a problem in using it.
After using boolean terms to get some candidates of documents (still too much), we want sorted them by self-defined function which is used in Xapian::KeyMaker->operator(). But how can I get the serialise score in Xapian::MSetIterator object.
c++ code likes this:
class SortKeyMaker : public Xapian::KeyMaker {
std::string
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
2009 Dec 01
1
Does xapian support attribute search & faceted search?
Can I use xapian for a search like:
'title' has the phrase "dinner jacket" AND 'color' == BLACK AND 'state' == MA AND 'size' == XL
What about faceted search?
Thanks
2011 Feb 11
2
PHP Binding and SWIG Director for XapianMatchDecider
Hi,
I try to use XapianMatchDecider to filtering results, but the code :
$Decider = new MatchDecider_Search($XapianDatabase->_cPtr);
$mset = $XapEnquire->get_mset(0, 3000, null, $Decider);
Always return :
PHP Fatal error: No matching function for overloaded 'Enquire_get_mset'
in xapian.php on line 1082
I saw that SWIG was not supporting Directors for PHP, but now, it seems
to
2013 Jan 17
1
FASTER Search
I am suffering for slow searching performance on Xapian.
I am using Xapian for indexing about 150,000,000 documents.
It was implemented in C++;
The performance of searching was not that fast.
e.g. Searching a query, which includes about 20 terms, needs 2 secs avg.
For searching, I followed such steps:
1. construct a QueryParser for certain string
2. parse the query to get a Xapian::Query
2016 Sep 22
2
issues compiling omega
James,
That was exactly the issue. libmagic.dll.a was in /lib under cygwin. Adding
a -L/lib took care of this. This was also an issue with -lpcre, which
adding -L/lib fixed as well. Of course, I'm now running up against
something else. from make
libtool: link: g++ -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith
-Wca
st-qual -Wcast-align -Wno-long-long -Wformat-security
2006 May 10
1
Documentation for the PHP OO wrapper
I finally had a chance to spend some time on Olly's idea about
generating documentation for the object-oriented PHP wrapper
http://www.oligarchy.co.uk/xapian/patches/xapian9.phps
>Another way to approach it might be to postprocess Doxygen's XML output
>(which would allow mechanical changes to match PHP syntax).
>
>
I wrote an xslt script to test the idea (It is one of the
2006 Apr 05
1
Comparing against values (e.g. date ranges)
Hi all,
I'm once again looking for search with date ranges. e.g. All entries
before a certain date.
I understand that Omega does this by adding keywords for each year,
month and day number separately and construcing a big OR query
year = 1980 or year = 1981 or year = 1982 .... or (year = 1983 and
(month =1 or month = 2 ...))
I think Olly said he was considering adding something to Xapian,
2006 May 03
1
[Omega] Filtering on time instead of date
Hi,
Currently Omega/scriptindex supports filtering by date. For example, all
dates between START and END. Would it be possible to extend this
behaviour to include the time?
We have documents which expire. In order to filter out 'old' articles,
we would like to check if the document date is between START=NOW and
END=MAXINT.
Best regards,
Eric
2010 Jul 07
1
Status of the java-swig bindings?
I just get the latest version of Xapian 1.2.2 and see that the Java bindings
still aren't in a package.
Do these work? I am trying to hack them into a package but I can't find
where the actual swig -java command is being executed from to add the
-package command.
Any ideas?
--
Jarrod Roberson
www.vertigrated.com/blog
2016 Sep 22
0
issues compiling omega
On Thu, Sep 22, 2016 at 05:10:32PM -0400, John Bankert wrote:
> That was exactly the issue. libmagic.dll.a was in /lib under cygwin. Adding
> a -L/lib took care of this.
The "share" vs "lib" distinction is that "share" is for files which are
architecture independent. So executable machine code will (well,
should) never be there, only data files, scripts,