On Tue, Nov 3, 2009 at 5:21 AM, Dinh wrote:
> Hi Michael,
>
>> Does that mean you no longer see the original problem (changes not
>> being reflected)?
>
> Yes. The deleted documents do not appear in search results any more. I am
> not sure that if they are flushed to disk
> at that time yet but at
Hi Michael,
> Does that mean you no longer see the original problem (changes not
> being reflected)?
Yes. The deleted documents do not appear in search results any more. I am
not sure that if they are flushed to disk
at that time yet but at least there is a sign that they are "deleted". I
have st
On Tue, Nov 3, 2009 at 4:24 AM, Dinh wrote:
> Hi Michael,
>
> Thank a lot for your advice
>
>> Can you verify you are in fact reopening the reader that's reading the
>> same Directory the writer is writing to?
>
> Yes. I have a single and configurable index path. So I can not make a
> mistake here
Hi Michael,
Thank a lot for your advice
> Can you verify you are in fact reopening the reader that's reading the
> same Directory the writer is writing to?
Yes. I have a single and configurable index path. So I can not make a
mistake here
> Also, you are failing to close the old reader after op
Can you not suppress the AIOOBE (just in case you're hitting that)?
Also, you are failing to close the old reader after opening a new one.
This shouldn't cause the issue you're seeing, but, will lead
eventually to OOME or file descriptor exhaustion.
Can you verify you are in fact reopening the r
Hi Anshum,
> Is it that your engine keeps an IndexSearcher[Reader] open all through
this
while?
The answer is yes. I have tried to keep a singleton instance of
IndexSearcher open across web requests.
Regarding to your advice, I have tried to re-open the IndexReader that is
associated with that I
Hi Dinh,
Is it that your engine keeps an IndexSearcher[Reader] open all through this
while? For the deleted document to actually reflect in the search (service),
you'd need to reload the index searcher with the latest version.
--
Anshum Gupta
Naukri Labs!
http://ai-cafe.blogspot.com
The facts expr