Displaying 15 results from an estimated 15 matches for "xapianqueri".
Did you mean:
xapianquery
2016 Mar 27
2
PHP5 - Query Parsing Bug
I'm replying to a very old thread (9 years ago) here
http://grokbase.com/t/xapian/xapian-discuss/072tprmr6h/php5-query-parsing-bug
So not sure if that's going to end up being more or less readable...
I have this error :
Fatal error: No matching function for overloaded 'new_Query' in
/usr/share/php/xapian.php on line 2607
Line 2607 (and surrounding) looks like this and are in
2011 May 23
1
More relevance for recent documents
Good afternoon
I would like to ask if is possible somehow give more relevance to the
recent documents in search results.
I dont want to sort results according to the date, I still prefer
relevance, but I would like to see recent documents with better scoring.
I was trying to add search query using AND_MAYBE, which should use
relevance from both subqueries, but it didnt add any benefit to the
2016 Mar 27
0
PHP5 - Query Parsing Bug
On Sat, Mar 26, 2016 at 07:21:23PM -0500, Yannick Warnier wrote:
> I'm replying to a very old thread (9 years ago) here http://grokbase.com/t/xapian/xapian-discuss/072tprmr6h/php5-query-parsing-bug
It's a fairly safe bet that if you search for an error message and find
a 9 year old message which says it's been fixed, you aren't hitting the
same issue, but rather a different
2015 May 04
2
Make Xapian accept all characters
Ok, but suppose I have a complex query, something like "(a OR b) AND NOT c OR ##". Do I have to parse the query by myself?
> Date: Mon, 4 May 2015 03:03:24 +0100
> From: olly at survex.com
> To: lautaromedrano at hotmail.com
> CC: xapian-discuss at lists.xapian.org
> Subject: Re: [Xapian-discuss] Make Xapian accept all characters
>
> On Sun, May 03, 2015 at
2006 Nov 30
1
PHP / XapianQueryParser
Hi everyone,
I tried sending a message as a reply a while back on my previous topic, but it didn't go through. (Tried Gmane), not even when I 'authorized' the reply. So I'll just paste it here for reference, below this message. It might help some people. But now I have one other small problem, and I'm not sure if it is actually my mistake (although I'm pretty sure it is
2015 May 03
2
Make Xapian accept all characters
Hello everyone,
I'm using Xapian at work (PHP bindings) and I have to make it accept '##' as a term to index. We have a layer on top of xapian, but as far as I can tell, Xapian's QueryParser is removing them from the query. So, if I search for just '##' I get an empty query, after Xapian parsed it. I've seen the flags this class accepts, but I can't do what I want
2007 Feb 09
1
PHP Binding and dbi2omega questions
Hi All,
I've installed Xapian and the php module. I've set up a script for use with
scriptindex and dbi2omega for getting data from the db into the index
easily, the script file is as follows:
===============================
id : field=id
title : index
title: field=title
description : index
description : truncate=50 field=content
=============================
However, when querying
2010 Oct 21
2
In-memory databases vs PHP Bindings
I can't quite connect the dots on this, perhaps someone can help. I'm
simply trying to create an in-memory database comprising a single document,
so that I can run a load of queries against it and see if any of them match
the new document (this is to enable users to have 'subscriptions' to saved
searches and be alerted every time a new item is published that matches
their
2023 Mar 30
1
Having trouble with php8 bindings
On Thu, 30 Mar 2023 at 04:58, Olly Betts <olly at survex.com> wrote:
>
> Another option is to import the things you want with `use` and then
> you can just use `XapianWritableDatabase` without to prefix it with
> `\`. To do that add this after your `namespace literallyanynamespace;`
> line:
>
> use \XapianWritableDatabase;
Thank you very much.
This then (because
2023 Mar 30
1
Having trouble with php8 bindings
On Thu, Mar 30, 2023 at 05:16:16AM +0100, John Handelaar wrote:
> This then (because of course) led to some more things needing tidying
> up and I've run into something I can't work out while trying to update
> previously-worked-in-php7 code in the actual file I'm trying to update
>
> $this->queryparser->set_default_op(Query_OP_AND);
>
> ...leads to
2015 May 04
0
Make Xapian accept all characters
On Sun, May 03, 2015 at 07:34:32PM +0000, Lautaro M wrote:
> I'm using Xapian at work (PHP bindings) and I have to make it accept
> '##' as a term to index. We have a layer on top of xapian, but as far
> as I can tell, Xapian's QueryParser is removing them from the query.
> So, if I search for just '##' I get an empty query, after Xapian
> parsed it. I've
2010 Jan 19
1
QueryParser: aliases and OP_AND
Hello,
I'm wondering about how the QueryParser parses a query containing an "alias" when the default operator is OP_AND
(by "alias", I mean a search field mapped to multiple term prefixes).
With the following php code :
<?php
$parser=new XapianQueryParser();
$parser->set_default_op(XapianQuery::OP_AND);
$parser->add_prefix('alias', 'AUT1:');
2007 Jun 11
3
Xapian 1.0.1 released
I've now uploaded Xapian 1.0.1, which you can download from the usual
place:
http://www.xapian.org/download.php
This release mainly comprises bug fixes and performance improvements.
The "simple" examples (for both C++ and the bindings) have also been
overhauled and now use the QueryParser and TermGenerator classes, which
makes for simpler examples and should better reflect
2007 Jun 11
3
Xapian 1.0.1 released
I've now uploaded Xapian 1.0.1, which you can download from the usual
place:
http://www.xapian.org/download.php
This release mainly comprises bug fixes and performance improvements.
The "simple" examples (for both C++ and the bindings) have also been
overhauled and now use the QueryParser and TermGenerator classes, which
makes for simpler examples and should better reflect
2006 May 17
3
QueryParser lowercase / uppercase and stemming
Hello.
There are several problems I couldn't find a solution.
1. QueryParser does not perform stemming
I am working with PHP5 and use the xapian wrapper written by Daniel M?nard
I build a query using parseQuery. Output of the parsed query shows that
terms are not stemmed, although a stemmer is set ( see code snippet)
# create a XapianDatabase object to search in
$db = new