Do I need Zend Lucene Java Lucene?

When implementing Zend Lucene, do we need to install Java on our server or not?

+4
java php lucene zend-search-lucene
source share
2 answers

Although I have not used it, it seems that you do not need Java to use the Zend_Search_Lucene component. According to the documentation, Zend_Search_Lucene is a fully PHP implementation of Lucene.

However, there is support for interoperability between Java indexes and PHP indexes .

+11
source share

The Zend implementation is the java port for PHP Lucene. This is a great Zend approach.

But the PHP version will be missing for large indexes. Remember that if you have a large index, php will load it every time you invoke a script that do a search / insert in Lucene. Java version, load the index when starting the JVM and store it in memory to use it.

+3
source share

All Articles