similar to: Xapian, PHP bindings and

Displaying 20 results from an estimated 100 matches similar to: "Xapian, PHP bindings and"

2009 Aug 17
1
Xapian DatabaseError
Hi, I've a problem to integrate xapian in my web application. I've developed the code for index e for search the documents published through my application. The app is developed in PHP. I've created a file that contain some function for search (called simpleSearch and advSearch). The problem is that if i run the code through the IDE (Zend for Eclipse) as PHP script it work correctly,
2009 Jul 08
1
php error parse_query
I'm having trouble getting a search via php working, I get the following error: *Fatal error*: No matching function for overloaded 'QueryParser_parse_query' in */usr/local/share/php5/xapian.php* on line *1409 *The error occurs at this code $query = $qp->parse_query( $query_string , XapianQueryParser::FLAG_PHRASE |
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
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
2007 Nov 08
1
QueryParser : some remarks
Hi to all, First, I would like to say a big thank you for the work which was done on my 'wish bug' to allow mapping one field to multiple prefixes (http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=93). That's great! I have upgraded to 1.0.4 and I am revisiting my code, replacing the php query parser I wrote with Xapian's one. Everything works well, but I have some
2005 Mar 03
0
RE: Getting phpconfig to work?
Hi, When I do click on the phpconfig.php link from http://ip-of-machine/phpconfig/, it returns a page with the actual contents of that file (phpconfig.php) and doesn't load the page. See some of the output below; <?PHP /** * * Asterisk configuration file interface script * * * * * * phpconfig:,v 1.0 2003/07/03 17:19:37 * Authors: Dave Packham <dave.packham@utah.edu> *
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
2005 Mar 03
1
RE: Getting phpconfig to work?
Hi, When I do click on the phpconfig.php link from http://ip-of-machine/phpconfig/, it returns a page with the actual contents of that file (phpconfig.php) and doesn't load the page. See some of the output below; <?PHP /** * * Asterisk configuration file interface script * * * * * * phpconfig:,v 1.0 2003/07/03 17:19:37 * Authors: Dave Packham <dave.packham@utah.edu> *
2005 Mar 03
0
RE: Getting phpconfig to work?
Hi, Does phpconfig require a particular php package installed? I have php4-4.3.10_1 installed on my box. Does this have an effect? What do I need to change in terms of ownership and permissions to files located in the phpconfig directory? At the moment I have, drwxr-xr-x 4 root wheel 512 Mar 3 13:09 . drwxr-xr-x 8 root wheel 512 Mar 3 12:15 .. drwxr-xr-x 2 root wheel 512 Feb 24
2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
I''m working on porting a dynamic website done in PHP over to mod_ruby. I have everything set up and working nicely (I can make a .rhtml page, put ruby code between <% %> and it works etc), but when I try to use "Eruby.import" as a sort of analog to PHP''s "require_once()", I run into trouble. 1) eruby is in my cgi-bin 2) here''s a sample of
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:');
2015 Mar 05
0
SELinux kills Cassandra based website
An easy way to start troubleshooting these is to look at the audit logs and see what SELInux is blocking. You have /McFrazier in the email.. if that's off the root tree than unless you've set permissions to allow httpd to look at tat folder, I bet that's one problem. if you run ls -Z you can see the labels that are present on those folders, that might be helpful too. On Wed, Mar 4,
2015 Mar 05
2
SELinux kills Cassandra based website
Hey all, There's a website I help run that uses the Cassandra DB as its database. I notice that if I run the web server in SELinux permissive mode, the site works fine. But if I put it into enforcing mode, the site goes down with this error: Warning: require_once(/McFrazier/PhpBinaryCql/CqlClient.php): failed to open stream: Permission denied in
2011 Jul 27
3
Searching using prefixes
Hi guys I'm trying to figure out how I can use probabilistic searching on a given field within a document; I've written to the list about this before, but haven't quite figured out what's required and, following a little research, I think I understand what I need to do but I'd like a clarification on this. o We have a database of a number of documents, with fields: title,
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
2009 May 27
1
PHP AGI Problems
(Accidentally posted this to asterisk-dev, should be here) fgets is only returning one character... either when run as an AGI or run as a test on PHP on CLI... Example, enter 3333, then fgets returns '3'. Also, GET DATA seems to be returning early and the loop keeps prompting 'invalid'... Any suggestions on how to improve my AGI class so it actually works? Thanks. [code]
2015 Mar 05
1
SELinux kills Cassandra based website
Hi Jeremy, An easy way to start troubleshooting these is to look at the audit logs and > see what SELInux is blocking. You have /McFrazier in the email.. if that's > off the root tree than unless you've set permissions to allow httpd to look > at tat folder, I bet that's one problem. > if you run ls -Z you can see the labels that are present on those folders, > that
2007 Jun 15
2
combining AGI with dialplans
On 2007-05-15 Tony Mountifield wrote (wrt using AGI scripts to dial out): > Can't comment on this one, as I never use AGI to dial. > My AGIs just set the context, extension and priority, > and exit to the dialplan to do any dialling. (http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537) I would like to do this, but I am having trouble figuring out how. I have
2007 Feb 22
1
Wildcards
Hello, Thanks Olly , by following to your suggestion I could do the indexing in the CSV file while the search results retrieved from the Postgres and it's working fine. [ I am using the Xapian PHP-binding to index and search.] How could I enable the WILDCARDS in it ? I followed with the online manual which says it is disabled by default there given some method to enable but I am not
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
I have Centos 6.1 and i'm configuring cluster with conga, lucci and ricci these services are installed and running without problem. I need this type configuration for a high availability of virtual machines which is run on kvm. My problem is at the time of configuring "service group", when i click to add appears the new windows wich say "add service to cluster" and i fill