Displaying 6 results from an estimated 6 matches for "new_query".
Did you mean:
get_query
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 the __construct()
of XapianQuery (with better indentation):
"""
switch (func_num_args()) {
case 0: $this->_cPtr=new_Query(); break;
case 1:
$this-&...
2006 Nov 30
1
PHP / XapianQueryParser
...flags (like XapianQueryParser::FLAG_PHRASE) or the boolean_prefix, etc. does not influence anything. I tried to lcoate the error in Xapian.php, but I think the error can be a bit deeper... I can query using XapianQuery, with a single keyword.
Fatal error: No matching function for overloaded 'new_Query' in /var/www/htdocs/almar/xapian.php on line 1123
Which is this function in XapianQuery
function __construct($tname_or_op__or_copyme_or_op=null,$wqf_or_left_or_subqs_or_q=1,$term_pos_or_right_or_param=0) { switch (func_num_args()) { case 0: $r=new_Query(); break;--> this line: defaul...
2006 Apr 06
1
search on subsets
hi all
i am building an experimental php search app on top of xapian (using the
xapian-bindings).
i want to add a feature so that you can search within a search - search
on a subset.
i haven't yet started working on it, but as far as i can tell, there
seems to be no easy way of doing this.
can someone point me in the right direction?
thanks
alec
2016 May 16
2
Weighting recent results
I was thinking about this some more: Is there a reason I can't just
weight by some function of recency at indexing time?
$weight = get_weight_based_on_recency(...);
$tg->index_text($txt,$weight);
If I wanted to allow the user the option of searching either in
recency-weighted mode or not, I could index each document into 2
different databases, one with and one without.
This avoids
2017 Sep 12
2
perl bindings to Xapian::Query
...= time() - ($datefilter * 60 * 60 * 24);
my $filterquery =
Xapian::Query->new(OP_VALUE_GE,I_DATE,$filterepoch);
$query = Xapian::Query->new(OP_FILTER,$query,$filterquery);
}
This appears to die on Xapian::Query->new with
No matching function for overloaded 'new_Query' at
/usr/local/lib/perl5/site_perl/Xapian.pm line 1282.
I see in Xapian.pm where Xapian::Query attempts to call
Xapianc::new_Query . Is there some other way I am supposed to do this?
I should say that I am using xapian-bindings-1.4.4 which I compiled and
installed myself.
Thanks,
- Alex...
2006 Jul 07
1
querying the SearchResults instance
Hi how do you search against the results returned by find_by_contents
using ferret?
i.e. how do you "search within these results"?
This is an acts_as_ferret question again...
thanks in advance..
cheers
caspar
--
Posted via http://www.ruby-forum.com/.