Hi, Thanks very much for reply! Yes, PHP is stateless, just like
old CGI. All I can do is to get result efficiently within the
given query.
But we already got into PHP, I will see what the best I can do.
Best regards, Lisheng
-----Original Message-----
From: Chris Lu
Sent: Friday, February 19, 2010 3:15 PM
To: java-user@lucene.apache.org
Subject: Re: Improving Zend lucene search - general guidance?
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.netdemo:
http://search.dbsight.comLucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutesDBSight 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org