elasticsearch/elasticsearch — pull request #6636 by s1monw (2014-06-27 09:25:21+00:00)
Title: [STORE] Make `file_switch` directory default using `mmapfs` / `niofs`

`mmapfs` is really good for random access but can have sideeffects if
memory maps are large depending on the operating system etc. A hybrid
solution where only selected files are actually memory mapped but others
mostly consumed sequentially brings the best of both worlds and
minimizes the memory map impact.
This commit mmaps only the `dvd` and `tim` file for fast random access
on docvalues and term dictionaries.