Here are some things to try to speed up the indexing speed of your Lucene application. Please see ImproveSearchingSpeed for how to speed up searching.
*Use the char\[\] API in Token instead of the String API to represent token Text* \\ As of Lucene 2.3, a Token can represent its text as a slice into a char array, which saves the GC cost of new'ing and then reclaiming String instances. By re-using a single Token instance and using the char\[\] API you can avoid new'ing any objects for each term. See [Token|http://lucene.apache.org/java/docs/api/org/apache/lucene/analysis/Token.html] for details. \\ \\ |