I'm building six different indexes in series, at the end of building an index I call optimize() and then close() the writer, then move onto the next one. I build them in series because they are extracting the data from a database and I don't want to overload the database. However the optimization takes a while and because that does'nt effect the db I want to start building the next index whilst the optimize of the last one is being done by using optimize(false), but if I do this how do I know when the optimization is finished so I can close the writer ?

thanks Paul

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

Reply via email to