lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Lisheng" <Lisheng.Zh...@BroadVision.com>
Subject RE: Improving Zend lucene search - general guidance?
Date Sat, 20 Feb 2010 00:29:30 GMT
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 [mailto:chris.lu@gmail.com]
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.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-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


Mime
View raw message