does anybody have the experience to do some pooling upon lucene?

2006-05-19 Thread Zhenjian YU
I'm using apache commons pooling library to pool the IndexSearcher, so that my system can provide high performance. I wonder if it is reasonable to pooling objects of lucene? If yes, is there any other objects I can also pool? Thank you!

Re: does anybody have the experience to do some pooling upon lucene?

2006-05-21 Thread Zhenjian YU
system needs to use (in the basic sense). Pooling multiple instances pointing to the same index won't benefit your performance. Things get trickier when you are updating the index and want to see the updates. Erik On May 19, 2006, at 5:13 AM, Zhenjian YU wrote: > I'm

Re: does anybody have the experience to do some pooling upon lucene?

2006-05-22 Thread Zhenjian YU
OK, got it. Thanks. On 5/23/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On May 21, 2006, at 10:56 PM, Zhenjian YU wrote: > I didn't dig the source code of lucence deep enough, but I noticed > that the > IndexSearcher uses an IndexReader, while the cost of initializing &g

Re: Can I do "Google Suggest" Like Search? - - - from - - -vikas

2006-05-24 Thread Zhenjian YU
hi, *vikas, *the ajax way should work for you. while in the lucene part, you should do something to handle the prefix query. Best Regards, Zhenjian On 5/24/06, Vikas Khengare <[EMAIL PROTECTED]> wrote: Hi Friend I want to perform search like "Google search" which will give

Re: Can I do "Google Suggest" Like Search? - - - from - - -vikas

2006-05-24 Thread Zhenjian YU
tarting with "a". Either way is a solution. Best Regards, Zhenjian On 5/24/06, Vikas Khengare <[EMAIL PROTECTED]> wrote: Hi Zhenjian YU I have implemented that with AJAX Search But when I type "*a*" in textbox. It gives me all results which contains letter &

Re: Can I do "Google Suggest" Like Search? - - - from - - -vikas

2006-05-24 Thread Zhenjian YU
yes, PrefixQuery will help. On 5/24/06, mark harwood <[EMAIL PROTECTED]> wrote: >>What will happen if I send PrefixQuery A search returns a list of docs - you want a list of words which is why I suggested using the IndexReader "terms" APIs which PrefixQuery uses internally. If you are not in