On 1/12/2016 2:50 AM, Matteo Grolla wrote: > and that it works with any directory factory? (Not just > NRTCachingDirectoryFactory)
Realtime Get relies on the updateLog to return uncommitted documents, and standard Lucene mechanisms to return documents that have already been committed. It should work with any directory. I would like to know why you're changing the directory. The only time the directory should be changed is if you want to work with something exotic like HDFS. With a typical installation using a typical filesystem, NRTCachingDirectoryFactory is absolutely the best option and should not be replaced with anything else. The NRT factory uses MMap, so there is no need to switch to MMapDirectoryFactory. Thanks, Shawn