Re: optimize: went from 14488449 to 38449

2008-12-22 Thread Michael McCandless
OK. Thanks for bringing closure here. Mike 1world1love wrote: Michael McCandless-2 wrote: How did you delete the documents? EG, by docID using IndexReader, by Term or Query using IndexWriter? And when you said your previous index had 14488449 docs, was numDocs() or maxDoc()? I

Re: optimize: went from 14488449 to 38449

2008-12-22 Thread 1world1love
Michael McCandless-2 wrote: > > > How did you delete the documents? EG, by docID using IndexReader, by > Term or Query using IndexWriter? > > And when you said your previous index had 14488449 docs, was numDocs() > or maxDoc()? > > I deleted by docid. I got the number by numdocs. Jus

Re: optimize: went from 14488449 to 38449

2008-12-19 Thread Michael McCandless
How did you delete the documents? EG, by docID using IndexReader, by Term or Query using IndexWriter? And when you said your previous index had 14488449 docs, was numDocs() or maxDoc()? Mike 1world1love wrote: Ganesh - yahoo wrote: Optimize will remove the deletes and rearrange t

Re: optimize: went from 14488449 to 38449

2008-12-18 Thread 1world1love
Ganesh - yahoo wrote: > > Optimize will remove the deletes and rearrange the document numbers. > > Have you done some deletes before deleting 1.3 million docs? > > No, that is the crazy part. I haven't done anything to this index since it was first compiled until I did the deletes. That is

Re: optimize: went from 14488449 to 38449

2008-12-18 Thread Ganesh
Optimize will remove the deletes and rearrange the document numbers. Have you done some deletes before deleting 1.3 million docs? Regards Ganesh - Original Message - From: "1world1love" To: Sent: Friday, December 19, 2008 9:49 AM Subject: optimize: went from 14488449 to 38449 Ok