Re: PHP-Lucene Integration

2005-02-09 Thread Daniel Cortes
Hi, I have a problem about PHP and Lucen. too. I have PhpBB (a forum) and a JAVA portal, I need to index post on Lucene Index, phpBB use a DB of mysql. I have 2 options, first index the database, a thing that I don't do never, and I think that is complex because I supose I have to decide how oft

Re: PHP-Lucene Integration

2005-02-08 Thread Sanyi
Thanx a lot! Sanyi --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Howdy, > [...] __ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 -

Re: PHP-Lucene Integration

2005-02-07 Thread Owen Densmore
Wow, thanks all for the great spectrum of possibilities. We'll be doing a design review in a week or two with the client and we'll find out what way would be best for their site. I'll report back then. Thanks again, what a group! Owen ---

Re: PHP-Lucene Integration

2005-02-07 Thread [EMAIL PROTECTED]
Howdy, For starters, compile and install the java bridge (and if necessary recompile PHP and Apache2) and make sure it works (there's a test php file supplied). Then, here's a simplified part of my code, just to give you an example how it works. This is the part that does the searching, indexin

Re: PHP-Lucene Integration

2005-02-07 Thread Sanyi
Hi! Can you please explain how did you implement the java and php part to let them communicate through this bridge? The brige's project summary talks about "java "application-server" or a dedicated java process" and I'm not into Java that much. Currenty I'm using a self-written command-line sear

Re: PHP-Lucene Integration

2005-02-06 Thread [EMAIL PROTECTED]
Hi Owen I am using Lucene with PHP, though in previous replies it was suggested to run Tomcat on an alternate port, but for me that was not a solution. I did not want to run too many tasks or too many servers for various reasons (maintenance, security etc) and also needed to have control over PH

Re: PHP-Lucene Integration

2005-02-06 Thread Andrzej Bialecki
Erik Hatcher wrote: Eventually you can just do PHP within the servlet container http://www.jcp.org/en/jsr/detail?id=223 and have your cake and eat it too! :) An intriguing thought occured to me: with the recent work on PyLucene, it should be quite possible to generate a SWIG wrapper for PHP a

Re: PHP-Lucene Integration

2005-02-06 Thread Erik Hatcher
Eventually you can just do PHP within the servlet container http://www.jcp.org/en/jsr/detail?id=223 and have your cake and eat it too! :) Erik On Feb 6, 2005, at 12:10 PM, Owen Densmore wrote: I'm building a lucene project for a client who uses php for their dynamic web pages. It

Re: PHP-Lucene Integration

2005-02-06 Thread Kelvin Tan
How about XML-RPC/SOAP, or REST? For REST, just have a servlet listening for HTTP Gets and respond with XML that your PHP app can parse (for searching). For indexing, let's say you want to index an uploaded file, construct a URL with the fields and field values, and also pass the location of th

Re: PHP-Lucene Integration

2005-02-06 Thread Maurits van Wijland
Hi Owen, This can easily be done! Simply install tomcat on port 8080 and create a jk2 or proxy that points to tomcat. then all requests for jsps can be send to tomcat. The search engine can even be placed on a separate server. If you give me some details on your server, i will create a proxy sc

PHP-Lucene Integration

2005-02-06 Thread Owen Densmore
I'm building a lucene project for a client who uses php for their dynamic web pages. It would be possible to add servlets to their environment easily enough (they use apache) but I'd like to have minimal impact on their IT group. There appears to be a php java extension that lets php call back