lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rupinder Singh Mazara" <rsmaz...@ebi.ac.uk>
Subject RE: leakage in RAMDirectory ?
Date Thu, 07 Oct 2004 09:42:21 GMT
Hi 

 the major issue is that when using FSDirectory and indexing to a directory there are no missing
enteries
  where as when indexed using RAMDirectory i get missing enteries 

   currently i am investigating which are the missing enteries, since the application is configures
to shutdown in 
  the event of Exception either all get indexed or none

  Rupinder

>-----Original Message-----
>From: Daniel Naber [mailto:daniel.naber@t-online.de]
>Sent: 06 October 2004 20:22
>To: Lucene Users List
>Subject: Re: leakage in RAMDirectory ?
>
>
>On Tuesday 05 October 2004 20:31, Rupinder Singh Mazara wrote:
>
>>  ( there
>> are 18746 records in the table. )
>>  using a database result set , i loop over all the records ,
>>  creating a document object and indexing into ramDirectory and then onto
>> the fileSystem
>>
>>  when I open a IndexReader and output numDoc i get 18740,
>
>It seems even in this case some documents are lost. Do you maybe ignore 
>exceptions? Could you build a self-contained test case that shows the 
>problem? The interesting question is of course *which* documents are lost 
>and if the behaviour is reproducible. The test case will either help you 
>to fix the bug in your code, or it will help us fix the bug in Lucene, if 
>there is any.
>
>Regards
> Daniel
>
>-- 
>http://www.danielnaber.de
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message