LUCENE-3354: FieldCache can cache DocTermOrds.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1158422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Martijn van Groningen 2011-08-16 19:06:11 +00:00
parent 4dfa638783
commit 6bada90b74
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class FieldCacheImpl implements FieldCache { // Made Public so that
init();
}
private synchronized void init() {
caches = new HashMap<Class<?>,Cache>(7);
caches = new HashMap<Class<?>,Cache>(9);
caches.put(Byte.TYPE, new Cache<ByteValues>(this));
caches.put(Short.TYPE, new Cache<ShortValues>(this));
caches.put(Integer.TYPE, new Cache<IntValues>(this));