PHP doesn't have java like "static" variables, right? They are "stateless".
All the information like term info that's loaded in the memory will be gone for the next search.

You should use DBSight if you just have one week.

--

Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes: 
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
DBSight customer, a shopping comparison site, (anonymous per request) got 2.6 
Million Euro funding!


Zhang, Lisheng wrote:
Hi,

I have been using Java/lucene for a few years and it works well for me.

Recently we started to use PHP/lucene from Zend, I found some problems, 
especially
that for each query, it immediately loads whole term id/score (other info..) array into memory, this would cause memory exhausion if there are many docs and query is based
on a common term.

I plan to improve PHP lucene query implementation based on Java lucene (I know 
Java
lucene code reasonably OK), but it seems that a lot of changes are needed, I would just like a high level guidance: is this doable within a week, have other people already had similar experiences?

Thanks very much for helps, Lisheng

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to