Dear All,
Currently, I'm using PHP/Java Bridge to have Lucene in my PHP web
application, and also using the java extension for PHP.
FYI, I'd setup lucene on my PC several months ago and my code below worked well.
But, Today I try to setup lucene on another PC, and I get an error message:
==
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>
> > -Original Message-
> > From: dian puma [mailto:dianp...@gmail.com]
> > Sent: Saturday, October 23, 2010 6:01 PM
> > To: java-use
Hi.
I still have problem with it
My code worked well when I run it by command line, ex."php srcLucene.php"
But it didn't work on web browser, still got an error like this.
indexing ... Exception occured: [[o:Exception]:"java.lang.Exc
me(__FILE__)."/../indexLucene/";
$path = getcwd()."/txtfiles/testing.txt";
$reader = new Java('org.apache.lucene.index.IndexReader');
$reader->open($directory);
//echo java_values($reader->numDocs());
$reader->close();
Hopefully someone would help me fo
E__)."/../indexLucene/";
$path = getcwd()."/txtfiles/testing.txt";
$reader = new Java('org.apache.lucene.index.IndexReader');
$reader->open($directory);
//echo java_values($reader->numDocs());
$reader->close();
Hopefully someone would help me fo