Displaying 2 results from an estimated 2 matches for "boolean_prefix".
2011 Sep 30
1
Slow phrase performance
...os=2)))
------------------------------
Hopefully these additional details will help:
------------------------------
Database is approx. 200,000 documents at around 8GB of source text. I
have tried finding the most infrequent term within the phrase and
using that as a boolean filter on a separate boolean_prefix as well as
using it to limit the maximum number of matches, but that doesn't seem
to help on common terms. I am not limiting the number of matches -- I
want all of them. But even on small sets like "kansas state" with
just 334 results, it's taking a long time.
The following are...
2006 Nov 30
1
PHP / XapianQueryParser
...e the XapianQueryParser (in PHP5), but I get an error everytime.
$odb = new XapianDatabase($db);
$ostem = new XapianStem("en");
$oqparser = new XapianQueryParser();$oqparser->set_stemmer($ostem);$oqparser->set_database($odb);$oqparser->set_stemming_strategy(1);$oqparser->add_boolean_prefix("Q",1);$oquery = $oqparser->parse_query($query, 1);
I found some perl examples and 'ported' it over to the PHP version. Varying the flags (like XapianQueryParser::FLAG_PHRASE) or the boolean_prefix, etc. does not influence anything. I tried to lcoate the error in Xapian.php,...