LUCENE-6121: CachingTokenFilter.reset() propagates to input if not cached

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646737 13f79535-47bb-0310-9956-ffa450edef68
fix javadocs: maybeReopen -> maybeRefresh

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646764 13f79535-47bb-0310-9956-ffa450edef68
LUCENE-5951: try to detect if index is on an SSD and default CMS's settings accordingly

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646775 13f79535-47bb-0310-9956-ffa450edef68