search for: get_query

Displaying 8 results from an estimated 8 matches for "get_query".

2009 Oct 09
0
ovirt install : several issues
...I am using one admin network and one guest network. Now the web interface is working, PXE booting is fine, however my nodes never appear on the web interface. I have this error message every 5 sec in /var/log/ovirt-server/ovirt-agent.log : ERROR Fri Oct 09 18:02:46 +0200 2009 (2434) ********** get_query DEBUG Fri Oct 09 18:02:46 +0200 2009 (2434) Query: context=338 class=agent object_id= DEBUG Fri Oct 09 18:02:46 +0200 2009 (2434) User ID: ERROR Fri Oct 09 18:02:46 +0200 2009 (2434) Error in ovirt-agent: Unknown class agent ERROR Fri Oct 09 18:02:46 +0200 2009 (2434) /usr/share/ovirt-server/o...
2014 Apr 13
2
Adding an external library to Xapian
...ecider *matchspy) const { + cout << " In Enquire::get_mser" << endl; + // For now storing the logs in a file with the DB's UUID + /* + string logname = (internal->db).get_uuid(); + std::ofstream logfile(logname, ios::out | ios::app); + Xapian::Query logquery = this->get_query(); + // logfile << (get_query).serialise << endl; + logfile.close(); +*/ LOGCALL(API, Xapian::MSet, "Xapian::Enquire::get_mset", first | maxitems | check_at_least | rset | mdecider | matchspy); try { @@ -1028,7 +1051,15 @@ Xapian::doccount check_at_least,...
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
2007 Feb 02
1
Working demo of search engine using boolean query.
...uery->new( OP_OR, @secondary_terms ); my $boolean_query = Search::Xapian::Query->new( OP_AND, $query1, $query2 ); $enq->set_query( $boolean_query ); #------------------------------------------------------------------------------# printf "Parsing query '%s'\n", $enq->get_query()->get_description(); my $total = $enq->matches(1, 100000000); print "Total: $total results found.\n------------------------\n"; my @matches = $enq->matches(0, 15); #------------------------------------------------------------------------------# foreach my $match ( @matches ) {...
2011 Apr 21
1
How to Retrieve content of the document?
...hit/Desktop/SET/DB'; my $db = Search::Xapian::WritableDatabase->new($DATABASE_DIR, Search::Xapian::DB_OPEN) or die "can't create write-able db object: $!\n"; my $enq = $db->enquire( 'steel'); printf "Running query '%s'\n", $enq->get_query()->get_description(); my @matches = $enq->matches(0, 10); print scalar(@matches) . " results found\n"; foreach my $match ( @matches ) { my $doc = $match->get_document(); printf "ID %d %d%% [ %s ] \n", $match->get_docid(), $match->get_percent(), $d...
2013 Aug 26
2
Perl interface isn't working in 1.2.x
On 08/25/2013 05:02 PM, Olly Betts wrote: > So the simple fix is > probably just to install the perl-Search-Xapian RPM instead. Thanks, the Centos 6 repos don't have that rpm and the http://xapian.org/download page seems to only cover the XS bindings, if I am reading this correctly: But I was able to remove the rpm packages and compile and install the core and swig from source.
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...ery *, struct multi_pgsql_pgc *, + PGresult **); + void (*abort)(struct multi_pgsql_query *, struct sql_result *); + void (*dtor)(struct multi_pgsql_query *); + time_t (*eol)(struct multi_pgsql_query *); + void (*set_sync_ioloop)(struct multi_pgsql_query *, struct ioloop *); + char const *(*get_query)(struct multi_pgsql_query *); +}; + +static void start_new_query_on_pgc(struct multi_pgsql_query *, struct multi_pgsql_pgc *); +static void start_query_on_pgc(struct multi_pgsql_pgc *); +static void done_with_query(struct multi_pgsql_pgc *); + +/*** method invocation wrappers */ +#define the_qry(q)...
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...@ovirt_model, + VmDef::TABLE_ID => @vmdef_model + } + end + + # This method is called when a console does a search for a specific + # object. It should use query_response() to return the matching objects + # and then query_complete() when done. + def get_query(context, query) + + begin + puts "Query: context=#{context} class=#{query.class_name} object_id=#{query.object_id}" + + if query.object_id != nil + object_num_low = query.object_id.object_num_low + object_num_high = query.object_id.object_num_high + + put...