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 Otis Gospodnetic <ot...@yahoo.com> on 2003/03/31 17:57:03 UTC

Re: Lucene stress Testing (Searchable Index of 40 MB)

Amit,

When you emailed me privately I suggested using lucene-user list, not
lucene-dev.  I'm moving this thread to lucene-user.

My guess is that your problem has nothing to do with index size (40 MB
is not very big), but that the index got corrupt.
You didn't provide much information (e.g. Does the directory in
question even exist? What's the contents of it? etc.).

Otis


--- Amit Kapur <am...@newgen.co.in> wrote:
> 
> 
> hi all,
> 
> I am using Lucene to Index/Search Documents in a very large Index in
> our Document Management System. (About 50,000 Documents).
> I am using the following code,
> try
>   {
>        Directory oDirectory = FSDirectory.getDirectory(strDir,
> false);
>        IndexReader oReader = IndexReader.open(oDirectory);
> 
> // strDir=FTS and false for create is given because i want to update
> an existing index and not erase the contents.
> // The current size of the index in the FTS Directory is about 40 MB.
>   }
>   catch (IOException ioe)
>   {
>       //  ioe.getMessage() --> Gives the Following Message :-
> "F:\Program Files\OmniDocs Server\FTS\segments (The system cannot
> find the file specified)"
>   }
> Initially when the size of the Index in the FTS Directory was about
> 30 MB the adding of documents into the index was working fine, but
> ever since the index size has increased the IndexReader is not
> opening. I have also seen the code of the FSDirectory.java file but
> havent been able to figure out anything.
> 
> Kindly help asap.
> 
> Regards
> Amit Kapur
> Software Developer,
> Newgen Software Technologies Ltd.
> Okhla
> Delhi, INDIA.
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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