Hi Erick & Chris ,
Thanks for your response.
I have done some profiling , and it seems the response is slow when there
are long queries(more than 5-6 words per query).
The way I have implemented is : I pass in the search query and lucene
returns the total number of hits, along with ids . I then fetch objects
for only those ids , as required per the pagination.
Also it is a dedicated search box .

Thanks,
--
Cathy
www.nachofoto.com




On 7/2/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:


: Is there a way to store lucene index in memcache. During high traffic
search
: becomes very slow. :(

http://people.apache.org/~hossman/#xyproblem
Your question appears to be an "XY Problem" ... that is: you are dealing
with "X", you are assuming "Y" will help you, and you are asking about "Y"
without giving more details about the "X" so that we can understand the
full issue.  Perhaps the best solution doesn't involve "Y" at all?
See Also: http://www.perlmonks.org/index.pl?node_id=542341


If you provide some more info about how you are using Lucene (ie: what you
code looks like) and what the concepts of "high traffic" and "slow" mean
to you, we might be able to help you better.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to