similar to: Xapian DatabaseError

Displaying 20 results from an estimated 300 matches similar to: "Xapian DatabaseError"

2009 Mar 02
0
Xapian, PHP bindings and
Hello, With PHP, I try to get spelling corrections but after 2 days of trying I can make it work !!! Here is my < simple > code : <?php require_once( '../global.info.php' ); require_once( 'xapian.class.php' ); require_once( 'xapianencode.func.php' ); // Open the database for searching. try { $database = new XapianDatabase(
2011 Jul 13
1
Feature request: Determining source index of xapian-compact DatabaseError exception
Greets, When merging lots of subindexes in batches like so: xapian-compact -m idx1 idx2... dstidx Errors such as: xapian-compact: DatabaseError: Error reading block 0: got end of file present a problem since it does not provide the offending path name (of the broken index) for easy identification/removal in automated/batch scenarios (the way DatabaseOpeningError:.... does, eg). The only way
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
2012 Jul 26
2
ruby bindings, ruby 1.9.3 and xapian
Hello, I've problem with xapian or sth. Ubuntu 8.04, ruby 1.9.3 with rvm, when Im trying to initialize database, Im getting this error: irb > require 'xapian' ==> true irb > database = Xapian::WritableDatabase.new('/full_path/db/xapian_db/development', Xapian::DB_CREATE_OR_OPEN) ArgumentError: Wrong arguments for overloaded method
2012 Mar 07
2
SSOAP and Chemspider: Security token?
Dear community, has anyone managed to get SSOAP working with the ChemSpider Web APIs, using functions which need the security token? I use SSOAP 0.9-0 from the OmegaHat repository. In the example code from SSOAP there is a sample which uses a token function. Interestingly, it checks if(!is.character(token)) first (and proceeds if the token is NOT character.) I can't test that function since I
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
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> *
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> *
2006 Jun 08
0
Question about searchgenerator
Hi, I am using the search generator in my application. How do i incorporate this to the application when i deployed it on a host since i can''t install simplesearch via gem on the server? I tried unpacking the gem on my local machine. I got the folder SimpleSearch-0.5.0 and i added it to the vendor directoy of rails. I also added ''require_gem simplesearch'' to the
2008 Feb 28
0
CentOS 5.1 86_64 : cannot open shared object file
Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Search/Xapian/Xapian.so' for module Search::Xapian: libxapian.so.15: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at ./simplesearch.pl line 7 Compilation failed in require at ./simplesearch.pl line 7. BEGIN
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
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
2014 Jan 21
2
seg fault on search
I have written a very simple function to return the match count based on the simplesearch.cc code. It fails with a seg fault. The relevant code is: -------------------- int ftQuery(char* qs, const char* dbname,char* results, int msize) { long docid; char* op; char fullDB[1024]; string queryString;
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
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
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
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
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]