reason: QueryPhaseExecutionException[[es_5][3]:
query[filtered(ConstantScore(:))->FilterCacheFilterWrapper(_type:IzapGeoCity)],from[0],size[10],sort[<custom:"is_usa":
org.elasticsearch.index.field.data.strings.StringFieldDataType$1@9dcf62>!,<custom:"state_title":
org.elasticsearch.index.field.data.strings.StringFieldDataType$1@9a3166>,<custom:"sortable.title":
org.elasticsearch.index.field.data.strings.StringFieldDataType$1@12146d4>]:
Query Failed [Failed to execute main query]]; nested: IOException[Can't
sort on string types with more than one value per doc, or more than one
token per field];
}
]
}
and if I remove the sorting on sortable.title, it gives all results. I dn't
understand why the mapping in one shard is not available while it is in
other four.
{
took: 10
timed_out: false
_shards: {
total: 5
successful: 4
failed: 1
failures: [
{
index: es_5
shard: 3
status: 500
reason: QueryPhaseExecutionException[[es_5][3]: query[filtered(ConstantScore(:))->FilterCacheFilterWrapper(_type:IzapGeoCity)],from[0],size[10],sort[<custom:"is_usa": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@9dcf62>!,<custom:"state_title": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@9a3166>,<custom:"sortable.title": org.elasticsearch.index.field.data.strings.StringFieldDataType$1@12146d4>]: Query Failed [Failed to execute main query]]; nested: IOException[Can't sort on string types with more than one value per doc, or more than one token per field];
}
]
}
and if I remove the sorting on sortable.title, it gives all results. I dn't understand why the mapping in one shard is not available while it is in other four.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.