Uses for IndexWriter.commit(commitUserData)/IndexCommit.getUserData()

2012-09-21 Thread Mike O'Leary
I was looking at IndexWriter.commit(commitUserData) and IndexCommit.getUserData() as possible ways to save metadata about documents in an index, but I realized that the metadata we are looking at could easily get to have way too many map entries to work well. This pair of functions looks useful

Re: Why does giving more JVM memory to lucene make queries run it faster?

2012-09-21 Thread Ian Lea
Most programs in all languages like plenty of memory. If you Google "lucene memory usage" you'll get hits on articles by Lucene developers and plenty more. Some bits may be more or less relevant to specific versions of lucene, As for "the minimum memory I must give to Lucene for its optimal perf