You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Sebastin <se...@gmail.com> on 2007/09/04 13:34:47 UTC
Re: how to implement searching "in time" efficiently
Hi Erick,
help me for this search in time efficiently.
Erick Erickson wrote:
>
> This topic has been discussed a number of times, I suggest you
> search the mail archives as that will get you very complete answers
> more quickly. See
> http://www.gossamer-threads.com/lists/lucene/java-user/
>
> If that doesn't get you any help, let us know.
>
> Best
> Erick
>
> On 8/24/07, Kai Hu <ka...@dusee.cn> wrote:
>>
>> Hi,all
>>
>> I want user could search record after he/she insert a record
>> immediately use lucene,
>>
>> When user insert a record ,I add the document into the index files. When
>> search I new an IndexSearcher instance everytime to search the new
>> records,but it is unefficient, because indexSearcher will cost much time
>> in read or sort documents. If I only use a single IndexSearcher , it
>> cannot search the newly committed changes . Is there any better way?
>> Help me ,thanks....
>>
>>
>>
>> kai
>>
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/how-to-implement-searching-%22in-time%22-efficiently-tf4321594.html#a12476389
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org