what do you understand when you say optimize? Unless you tell us what this code does in your case and what you'd expect it doing its impossible to give you any reasonable answer.
simon On Fri, Dec 2, 2011 at 4:54 AM, KARTHIK SHIVAKUMAR <nskarthi...@gmail.com> wrote: > Hi > > Spec > O/s win os 7 > Jdk : 1.6.0_29 > Lucene lucene-core-3.3.0 > > > > Finally after Indexing successfully ,Why this Code does not optimize ( > sample code ) > > INDEX_WRITER.optimize(100); > INDEX_WRITER.commit(); > INDEX_WRITER.close(); > > > *N.S.KARTHIK > R.M.S.COLONY > BEHIND BANK OF INDIA > R.M.V 2ND STAGE > BANGALORE > 560094* --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org