lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: optimize: went from 14488449 to 38449
Date Fri, 19 Dec 2008 10:38:59 GMT

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 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 why I made a  
> copy of it
> first because I had never done deletes before and wanted to be sure  
> I didn't
> mess anything up.
>
> When I did the deletes, there were a few of the delete files in the  
> index,
> but not that many. My index went from 22GB to 77MB.
> -- 
> View this message in context: http://www.nabble.com/optimize%3A-went-from-14488449-to-38449-tp21085589p21085775.html
> 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
>


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


Mime
View raw message