Also I forgot to mention that I'm running on
java 5. I was able to solve the issue I was having. When the batchCreate method in net.jforum.search.LuceneIndexer is called the added documents were never being commited to the IndeWriter (ramWriter). I ended up updating the batchCreate and createRAMWriter methods.
I updated batchCreate to do a flush after the document was added to the ramWriter
Also I updated the createRAMWriter method to create the IndexWriter with a different Constructor that sets autocommit to true (
JavaDoc)
[originally posted on jforum.net by bmcguire]