lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelvin Tan <>
Subject Re: PHP-Lucene Integration
Date Sun, 06 Feb 2005 18:18:43 GMT
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 the file on the FS.
Shouldn't be that difficult.

I'm guessing its more desirable to have all your code in one place, which is an advantage
to using Java in PHP. But it feels cleaner to have the Java stuff in one codebase and the
PHP in another. May make debugging easier. No idea how widely used the PHP-Java binding is.


On Sun, 6 Feb 2005 10:10:36 -0700, Owen Densmore wrote:
> 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 &
> forth to java classes, but I thought I'd ask here if anyone has had
> success using lucene from php.
> Note: I looked in the Lucene In Action search page, and yup, I
> bought the book and love it!  No examples there tho.  The list
> archives mention that using java lucene from php is the way to go,
> without saying how.  There's mention of a lucene server and a php
> interface to that.  And some similar comments.  But I'm a bit
> surprised there's not a bit more in terms of use of the official
> java extension to php.
> Thanks for the great package!
> Owen
> --------------------------------------------------------------------
> - To unsubscribe, e-mail: lucene-user-
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message