mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
default for paged_bytes for string type
less memory overhead, though a bit slower on the execution side for facets, and might require more memory per facet execution
This commit is contained in:
parent
5c89d66216
commit
360d7d9425
@ -47,7 +47,7 @@ public class IndexFieldDataService extends AbstractIndexComponent implements Ind
|
|||||||
|
|
||||||
static {
|
static {
|
||||||
buildersByType = MapBuilder.<String, IndexFieldData.Builder>newMapBuilder()
|
buildersByType = MapBuilder.<String, IndexFieldData.Builder>newMapBuilder()
|
||||||
.put("string", new ConcreteBytesRefIndexFieldData.Builder())
|
.put("string", new PagedBytesIndexFieldData.Builder())
|
||||||
.put("float", new FloatArrayIndexFieldData.Builder())
|
.put("float", new FloatArrayIndexFieldData.Builder())
|
||||||
.put("double", new DoubleArrayIndexFieldData.Builder())
|
.put("double", new DoubleArrayIndexFieldData.Builder())
|
||||||
.put("byte", new ByteArrayIndexFieldData.Builder())
|
.put("byte", new ByteArrayIndexFieldData.Builder())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user