Hi,
Please see below my template.
Also the exception I eventually get is:
java.lang.OutOfMemoryError: Java heap space
[2015-06-20 07:53:45,292][WARN ][index.warmer ] [es-userdata3.use.dynamicyield.com] [8765304_block14_1434780534546][1] failed to load fixed bitset for [org.elasticsearch.index.search.nested.NonNestedDocsFilter@edc74611]
org.elasticsearch.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: Java heap space
at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3937)
at org.elasticsearch.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4739)
at org.elasticsearch.index.cache.fixedbitset.FixedBitSetFilterCache.getAndLoadIfNotPresent(FixedBitSetFilterCache.java:136)
at org.elasticsearch.index.cache.fixedbitset.FixedBitSetFilterCache.access$100(FixedBitSetFilterCache.java:73)
at org.elasticsearch.index.cache.fixedbitset.FixedBitSetFilterCache$FixedBitSetFilterWarmer$1.run(FixedBitSetFilterCache.java:277)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.OutOfMemoryError: Java heap space
{
"template": "*",
"settings": {
"index.cache.query.enable": true,
"number_of_replicas": 0,
"number_of_shards": 2
},
"mappings": {
"user": {
"dynamic": "strict",
"_all": {
"enabled": false
},
"properties": {
"p1": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p2": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p3": {
"type": "long",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p4": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p5": {
"type": "long",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p6": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p7": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p8": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p9": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p10": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"p11": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
},
"p12": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
},
"p13": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
},
"p14": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
},
"p15": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
},
"p16": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "integer",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
},
"p17": {
"type": "nested",
"properties": {
"name": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"property": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"event": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
},
"count": {
"type": "string",
"index": "not_analyzed",
"norms": {
"enabled": false
},
"doc_values": true
}
},
"include_in_root": true
}
}
}
}
}