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:
Shay Banon 2013-01-26 15:11:05 +01:00
parent 5c89d66216
commit 360d7d9425
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class IndexFieldDataService extends AbstractIndexComponent implements Ind
static {
buildersByType = MapBuilder.<String, IndexFieldData.Builder>newMapBuilder()
.put("string", new ConcreteBytesRefIndexFieldData.Builder())
.put("string", new PagedBytesIndexFieldData.Builder())
.put("float", new FloatArrayIndexFieldData.Builder())
.put("double", new DoubleArrayIndexFieldData.Builder())
.put("byte", new ByteArrayIndexFieldData.Builder())