Does Zend Lucene need Java Lucene?
Asked Answered
I

2

4

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

Inger answered 10/8, 2009 at 13:4 Comment(0)
S
11

Although I have not used it, it appears 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 the Java indexes and the PHP indexes.

Sohn answered 10/8, 2009 at 13:10 Comment(0)
A
3

Zend implementation is the port of java to PHP of Lucene. This is a great approach of Zend.

But the PHP version will lack for big indexes. Remember that if you have a big index, php will need load it each time you call the script that make the search/insert into Lucene. The java version, load the index when the JVM starts and keep it in memory to use it.

Audet answered 22/8, 2009 at 19:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.