Daniel Latter wrote:
Yeah, it compares PHP to Java which
In itself is totally flawed, but I'm sure more smarter people will articluate this better than me. So hold tight.


On 16 Oct 2009, at 05:18, ctx2002 <[email protected]> wrote:


i try use zend lucene as my site search engine, then i have found this
article,

http://dadabase.de/weblog/archives/2009/07/22/recommendation-dont-use-zend-php-lucene.

can any one say something about that article?


--
View this message in context: http://www.nabble.com/zend-lucene-tp25919568p25919568.html
Sent from the Zend Framework mailing list archive at Nabble.com.


Of sorts, that guy is right about some things, as mentioned though, PHP is an interpreted language and therefore will always be slower to parse than compiled java code, with regards to memory usage in that article, that entirely depends on the cli script that was written to do the indexing, what it is indexing and the environment that it was running on (which given the memory limit, I can only assume isnt particularly powerful)

The java version of lucene is by far a better choice if you have enourmous amounts of data to index, but for smaller scale projects Zend's implementation is perfectly usable, using caches properly and writing efficient code helps this massively.

Most of zend's lucene issues are generally nothing to do with it at all an are mostly due to the php engine itself (memory management/limits, threading etc)

Hope that helps a bit

Reply via email to