Array
(
[error] => Array
(
[root_cause] => Array
(
[0] => Array
(
[type] => script_exception
[reason] => runtime error
[script_stack] => Array
(
[0] => org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:875)
[1] => org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:112)
[2] => org.elasticsearch.index.query.SearchExecutionContext.lambda$lookup$2(SearchExecutionContext.java:514)
[3] => org.elasticsearch.search.lookup.SearchLookup.getForField(SearchLookup.java:109)
[4] => org.elasticsearch.search.lookup.LeafDocLookup$2.run(LeafDocLookup.java:107)
[5] => org.elasticsearch.search.lookup.LeafDocLookup$2.run(LeafDocLookup.java:104)
[6] => java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
[7] => org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:104)
[8] => org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:28)
[9] => doc["name"].value
[10] => ^---- HERE
)
[script] => doc["name"].value
[lang] => painless
[position] => Array
(
[offset] => 4
[start] => 0
[end] => 17
)
)
)
[type] => search_phase_execution_exception
[reason] => all shards failed
[phase] => query
[grouped] => 1
[failed_shards] => Array
(
[0] => Array
(
[shard] => 0
[index] => areas
[node] => ZwfreNqfSraeyXZiQuxycA
[reason] => Array
(
[type] => script_exception
[reason] => runtime error
[script_stack] => Array
(
[0] => org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType.fielddataBuilder(TextFieldMapper.java:875)
[1] => org.elasticsearch.index.fielddata.IndexFieldDataService.getForField(IndexFieldDataService.java:112)
[2] => org.elasticsearch.index.query.SearchExecutionContext.lambda$lookup$2(SearchExecutionContext.java:514)
[3] => org.elasticsearch.search.lookup.SearchLookup.getForField(SearchLookup.java:109)
[4] => org.elasticsearch.search.lookup.LeafDocLookup$2.run(LeafDocLookup.java:107)
[5] => org.elasticsearch.search.lookup.LeafDocLookup$2.run(LeafDocLookup.java:104)
[6] => java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
[7] => org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:104)
[8] => org.elasticsearch.search.lookup.LeafDocLookup.get(LeafDocLookup.java:28)
[9] => doc["name"].value
[10] => ^---- HERE
)
[script] => doc["name"].value
[lang] => painless
[position] => Array
(
[offset] => 4
[start] => 0
[end] => 17
)
[caused_by] => Array
(
[type] => illegal_argument_exception
[reason] => Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [name] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
)
)
)
)
)
[status] => 400
)
Saint Cloud Location Search 40029
bedads.com