mirror of https://github.com/apache/lucene.git
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:
parent
4dfa638783
commit
6bada90b74
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue