File tree 2 files changed +2
-2
lines changed
modules/elasticsearch/src/main/java/org/elasticsearch/index/store/memory
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class ByteBufferStore extends AbstractStore<ByteBufferDirectory> {
45
45
@ Inject public ByteBufferStore (ShardId shardId , @ IndexSettings Settings indexSettings ) {
46
46
super (shardId , indexSettings );
47
47
48
- this .bufferSize = componentSettings .getAsSize ("bufferSize" , new SizeValue (1 , SizeUnit .KB ));
48
+ this .bufferSize = componentSettings .getAsSize ("bufferSize" , new SizeValue (100 , SizeUnit .KB ));
49
49
this .cacheSize = componentSettings .getAsSize ("cacheSize" , new SizeValue (20 , SizeUnit .MB ));
50
50
this .direct = componentSettings .getAsBoolean ("direct" , true );
51
51
this .warmCache = componentSettings .getAsBoolean ("warmCache" , true );
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public class HeapStore extends AbstractStore<HeapDirectory> {
43
43
@ Inject public HeapStore (ShardId shardId , @ IndexSettings Settings indexSettings ) {
44
44
super (shardId , indexSettings );
45
45
46
- this .bufferSize = componentSettings .getAsSize ("bufferSize" , new SizeValue (1 , SizeUnit .KB ));
46
+ this .bufferSize = componentSettings .getAsSize ("bufferSize" , new SizeValue (100 , SizeUnit .KB ));
47
47
this .cacheSize = componentSettings .getAsSize ("cacheSize" , new SizeValue (20 , SizeUnit .MB ));
48
48
this .warmCache = componentSettings .getAsBoolean ("warmCache" , true );
49
49
You can’t perform that action at this time.
0 commit comments