Sort option unmapped_type throws exception on Find on-premise

Fixed in

EPiServer.Find 13.2.4

Created

Jun 26, 2019

Updated

Oct 31, 2019

State

Closed, Fixed and tested


Description

Exception sort option [unmapped_type] not supported on Find on-premise

After upgrade of Find client to 13.2 on latest on-premise version (2017), an HTTP 400 is received with the following payload when searching and sorting (OrderBy).

ElasticSearchIllegalArgumentException[sort option [unmapped_type] not supported

SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[ABCDEFGHIJKLMNOPQRSTUV][web_dev][4]: SearchParseException[[web_dev][4]: query[filtered(ConstantScore(+NotFilter(cache(___types:EPiServer.Core.IContent)) cache(IsDeleted$$bool:F) ++NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(___types:EPiServer.Core.ILocalizable) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(Language.Name$$string:no) +NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +cache(___types:EPiServer.Core.IVersionable) ++cache(Status:[4 TO 4]) +no_cache(StartPublishedNormalized$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(BooleanFilter(no_cache(StopPublish$$date:[* TO *])))) cache(StopPublish$$date:{1561383447301 TO 253402297199999]) +NotFilter(cache(BooleanFilter(no_cache(PublishedInLanguage.no.StopPublish$$date:[* TO *])))) cache(PublishedInLanguage.no.StopPublish$$date:{1561383447301 TO 253402297199999]) +no_cache(PublishedInLanguage.no.StartPublish$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(___types:EPiServer.Security.IContentSecurable)) cache(UsersWithReadAccess$$string.lowercase:) cache(RolesWithReadAccess$$string:Anonymous RolesWithReadAccess$$string:Everyone) ++cache(Category:[68 TO 68]) cache(Category:[69 TO 69]) cache(Category:[71 TO 71]) cache(Category:[80 TO 80]) cache(Category:[81 TO 81]) cache(Category:[82 TO 82]) cache(Category:[83 TO 83]) cache(Category:[113 TO 113]) +cache(Ancestors$$string:107500) +cache(___types:EPiServer.Core.IContent)))->cache(___types:SiteCO.Models.Content.Pages.ArticlePage)],from[-1],size[3]: Parse Failure [Failed to parse source [{"size":3,"query":{"filtered":{"query":{"constant_score":{"filter":{"and":[{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.IContent"}}}},{"term":{"IsDeleted$$bool":false}}]},{"or":[{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}}]},{"and":[{"term":{"___types":"EPiServer.Core.ILocalizable"}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}},{"term":{"Language.Name$$string":"no"}}]},{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"term":{"___types":"EPiServer.Core.IVersionable"}},{"and":[{"term":{"Status":4}},{"range":{"StartPublishedNormalized$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}},{"or":[{"not":{"filter":{"exists":{"field":"StopPublish$$date"}}}},{"range":{"StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]}]}]},{"and":[{"or":[{"not":{"filter":{"exists":{"field":"PublishedInLanguage.no.StopPublish$$date"}}}},{"range":{"PublishedInLanguage.no.StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]},{"range":{"PublishedInLanguage.no.StartPublish$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}}]}]},{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Security.IContentSecurable"}}}},{"term":{"UsersWithReadAccess$$string.lowercase":""}},{"terms":{"RolesWithReadAccess$$string":["Everyone","Anonymous"]}}]},{"and":[{"or":[{"term":{"Category":68}},{"term":{"Category":69}},{"term":{"Category":71}},{"term":{"Category":80}},{"term":{"Category":81}},{"term":{"Category":82}},{"term":{"Category":83}},{"term":{"Category":113}}]},{"term":{"Ancestors$$string":"107500"}}]},{"term":{"___types":"EPiServer.Core.IContent"}}]}}},"filter":{"term":{"___types":"SiteCO.Models.Content.Pages.ArticlePage"}}}},"sort":[{"StartPublish$$date":{"order":"desc","unmapped_type":"date"}}],"fields":["___types","ContentLink.ID$$number","ContentLink.ProviderName$$string","Language.Name$$string"]}]]]; nested: ElasticSearchIllegalArgumentException[sort option [unmapped_type] not supported]; }{[ABCDEFGHIJKLMNOPQRSTUV][web_dev][2]: SearchParseException[[web_dev][2]: query[filtered(ConstantScore(+NotFilter(cache(___types:EPiServer.Core.IContent)) cache(IsDeleted$$bool:F) ++NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(___types:EPiServer.Core.ILocalizable) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(Language.Name$$string:no) +NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +cache(___types:EPiServer.Core.IVersionable) ++cache(Status:[4 TO 4]) +no_cache(StartPublishedNormalized$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(BooleanFilter(no_cache(StopPublish$$date:[* TO *])))) cache(StopPublish$$date:{1561383447301 TO 253402297199999]) +NotFilter(cache(BooleanFilter(no_cache(PublishedInLanguage.no.StopPublish$$date:[* TO *])))) cache(PublishedInLanguage.no.StopPublish$$date:{1561383447301 TO 253402297199999]) +no_cache(PublishedInLanguage.no.StartPublish$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(___types:EPiServer.Security.IContentSecurable)) cache(UsersWithReadAccess$$string.lowercase:) cache(RolesWithReadAccess$$string:Anonymous RolesWithReadAccess$$string:Everyone) ++cache(Category:[68 TO 68]) cache(Category:[69 TO 69]) cache(Category:[71 TO 71]) cache(Category:[80 TO 80]) cache(Category:[81 TO 81]) cache(Category:[82 TO 82]) cache(Category:[83 TO 83]) cache(Category:[113 TO 113]) +cache(Ancestors$$string:107500) +cache(___types:EPiServer.Core.IContent)))->cache(___types:SiteCO.Models.Content.Pages.ArticlePage)],from[-1],size[3]: Parse Failure [Failed to parse source [{"size":3,"query":{"filtered":{"query":{"constant_score":{"filter":{"and":[{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.IContent"}}}},{"term":{"IsDeleted$$bool":false}}]},{"or":[{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}}]},{"and":[{"term":{"___types":"EPiServer.Core.ILocalizable"}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}},{"term":{"Language.Name$$string":"no"}}]},{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"term":{"___types":"EPiServer.Core.IVersionable"}},{"and":[{"term":{"Status":4}},{"range":{"StartPublishedNormalized$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}},{"or":[{"not":{"filter":{"exists":{"field":"StopPublish$$date"}}}},{"range":{"StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]}]}]},{"and":[{"or":[{"not":{"filter":{"exists":{"field":"PublishedInLanguage.no.StopPublish$$date"}}}},{"range":{"PublishedInLanguage.no.StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]},{"range":{"PublishedInLanguage.no.StartPublish$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}}]}]},{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Security.IContentSecurable"}}}},{"term":{"UsersWithReadAccess$$string.lowercase":""}},{"terms":{"RolesWithReadAccess$$string":["Everyone","Anonymous"]}}]},{"and":[{"or":[{"term":{"Category":68}},{"term":{"Category":69}},{"term":{"Category":71}},{"term":{"Category":80}},{"term":{"Category":81}},{"term":{"Category":82}},{"term":{"Category":83}},{"term":{"Category":113}}]},{"term":{"Ancestors$$string":"107500"}}]},{"term":{"___types":"EPiServer.Core.IContent"}}]}}},"filter":{"term":{"___types":"SiteCO.Models.Content.Pages.ArticlePage"}}}},"sort":[{"StartPublish$$date":{"order":"desc","unmapped_type":"date"}}],"fields":["___types","ContentLink.ID$$number","ContentLink.ProviderName$$string","Language.Name$$string"]}]]]; nested: ElasticSearchIllegalArgumentException[sort option [unmapped_type] not supported]; }{[ABCDEFGHIJKL1234567890][web_dev][3]: RemoteTransportException[[somethingABC][inet[/123.123.123.123:9300]][search/phase/query]]; nested: SearchParseException[[web_dev][3]: query[filtered(ConstantScore(+NotFilter(cache(___types:EPiServer.Core.IContent)) cache(IsDeleted$$bool:F) ++NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(___types:EPiServer.Core.ILocalizable) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(Language.Name$$string:no) +NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +cache(___types:EPiServer.Core.IVersionable) ++cache(Status:[4 TO 4]) +no_cache(StartPublishedNormalized$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(BooleanFilter(no_cache(StopPublish$$date:[* TO *])))) cache(StopPublish$$date:{1561383447301 TO 253402297199999]) +NotFilter(cache(BooleanFilter(no_cache(PublishedInLanguage.no.StopPublish$$date:[* TO *])))) cache(PublishedInLanguage.no.StopPublish$$date:{1561383447301 TO 253402297199999]) +no_cache(PublishedInLanguage.no.StartPublish$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(___types:EPiServer.Security.IContentSecurable)) cache(UsersWithReadAccess$$string.lowercase:) cache(RolesWithReadAccess$$string:Anonymous RolesWithReadAccess$$string:Everyone) ++cache(Category:[68 TO 68]) cache(Category:[69 TO 69]) cache(Category:[71 TO 71]) cache(Category:[80 TO 80]) cache(Category:[81 TO 81]) cache(Category:[82 TO 82]) cache(Category:[83 TO 83]) cache(Category:[113 TO 113]) +cache(Ancestors$$string:107500) +cache(___types:EPiServer.Core.IContent)))->cache(___types:SiteCO.Models.Content.Pages.ArticlePage)],from[-1],size[3]: Parse Failure [Failed to parse source [{"size":3,"query":{"filtered":{"query":{"constant_score":{"filter":{"and":[{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.IContent"}}}},{"term":{"IsDeleted$$bool":false}}]},{"or":[{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}}]},{"and":[{"term":{"___types":"EPiServer.Core.ILocalizable"}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}},{"term":{"Language.Name$$string":"no"}}]},{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"term":{"___types":"EPiServer.Core.IVersionable"}},{"and":[{"term":{"Status":4}},{"range":{"StartPublishedNormalized$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}},{"or":[{"not":{"filter":{"exists":{"field":"StopPublish$$date"}}}},{"range":{"StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]}]}]},{"and":[{"or":[{"not":{"filter":{"exists":{"field":"PublishedInLanguage.no.StopPublish$$date"}}}},{"range":{"PublishedInLanguage.no.StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]},{"range":{"PublishedInLanguage.no.StartPublish$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}}]}]},{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Security.IContentSecurable"}}}},{"term":{"UsersWithReadAccess$$string.lowercase":""}},{"terms":{"RolesWithReadAccess$$string":["Everyone","Anonymous"]}}]},{"and":[{"or":[{"term":{"Category":68}},{"term":{"Category":69}},{"term":{"Category":71}},{"term":{"Category":80}},{"term":{"Category":81}},{"term":{"Category":82}},{"term":{"Category":83}},{"term":{"Category":113}}]},{"term":{"Ancestors$$string":"107500"}}]},{"term":{"___types":"EPiServer.Core.IContent"}}]}}},"filter":{"term":{"___types":"SiteCO.Models.Content.Pages.ArticlePage"}}}},"sort":[{"StartPublish$$date":{"order":"desc","unmapped_type":"date"}}],"fields":["___types","ContentLink.ID$$number","ContentLink.ProviderName$$string","Language.Name$$string"]}]]]; nested: ElasticSearchIllegalArgumentException[sort option [unmapped_type] not supported]; }{[ABCDEFGHIJKLMNOPQRSTUV][web_dev][0]: SearchParseException[[web_dev][0]: query[filtered(ConstantScore(+NotFilter(cache(___types:EPiServer.Core.IContent)) cache(IsDeleted$$bool:F) ++NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(___types:EPiServer.Core.ILocalizable) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(Language.Name$$string:no) +NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +cache(___types:EPiServer.Core.IVersionable) ++cache(Status:[4 TO 4]) +no_cache(StartPublishedNormalized$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(BooleanFilter(no_cache(StopPublish$$date:[* TO *])))) cache(StopPublish$$date:{1561383447301 TO 253402297199999]) +NotFilter(cache(BooleanFilter(no_cache(PublishedInLanguage.no.StopPublish$$date:[* TO *])))) cache(PublishedInLanguage.no.StopPublish$$date:{1561383447301 TO 253402297199999]) +no_cache(PublishedInLanguage.no.StartPublish$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(___types:EPiServer.Security.IContentSecurable)) cache(UsersWithReadAccess$$string.lowercase:) cache(RolesWithReadAccess$$string:Anonymous RolesWithReadAccess$$string:Everyone) ++cache(Category:[68 TO 68]) cache(Category:[69 TO 69]) cache(Category:[71 TO 71]) cache(Category:[80 TO 80]) cache(Category:[81 TO 81]) cache(Category:[82 TO 82]) cache(Category:[83 TO 83]) cache(Category:[113 TO 113]) +cache(Ancestors$$string:107500) +cache(___types:EPiServer.Core.IContent)))->cache(___types:SiteCO.Models.Content.Pages.ArticlePage)],from[-1],size[3]: Parse Failure [Failed to parse source [{"size":3,"query":{"filtered":{"query":{"constant_score":{"filter":{"and":[{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.IContent"}}}},{"term":{"IsDeleted$$bool":false}}]},{"or":[{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}}]},{"and":[{"term":{"___types":"EPiServer.Core.ILocalizable"}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}},{"term":{"Language.Name$$string":"no"}}]},{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"term":{"___types":"EPiServer.Core.IVersionable"}},{"and":[{"term":{"Status":4}},{"range":{"StartPublishedNormalized$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}},{"or":[{"not":{"filter":{"exists":{"field":"StopPublish$$date"}}}},{"range":{"StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]}]}]},{"and":[{"or":[{"not":{"filter":{"exists":{"field":"PublishedInLanguage.no.StopPublish$$date"}}}},{"range":{"PublishedInLanguage.no.StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]},{"range":{"PublishedInLanguage.no.StartPublish$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}}]}]},{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Security.IContentSecurable"}}}},{"term":{"UsersWithReadAccess$$string.lowercase":""}},{"terms":{"RolesWithReadAccess$$string":["Everyone","Anonymous"]}}]},{"and":[{"or":[{"term":{"Category":68}},{"term":{"Category":69}},{"term":{"Category":71}},{"term":{"Category":80}},{"term":{"Category":81}},{"term":{"Category":82}},{"term":{"Category":83}},{"term":{"Category":113}}]},{"term":{"Ancestors$$string":"107500"}}]},{"term":{"___types":"EPiServer.Core.IContent"}}]}}},"filter":{"term":{"___types":"SiteCO.Models.Content.Pages.ArticlePage"}}}},
 
"sort":[{"StartPublish$$date":{"order":"desc","unmapped_type":"date"}}], 
"fields":["___types","ContentLink.ID$$number","ContentLink.ProviderName$$string","Language.Name$$string"]}]]]; 
 
nested: ElasticSearchIllegalArgumentException[sort option [unmapped_type] not supported]; }
 
{[ABCDEFGHIJKL1234567890][web_dev][1]: RemoteTransportException[[somethingABC][inet[/123.123.123.123:9300]][search/phase/query]]; nested: SearchParseException[[web_dev][1]: query[filtered(
 
ConstantScore(+NotFilter(cache(___types:EPiServer.Core.IContent)) cache(IsDeleted$$bool:F) ++NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(___types:EPiServer.Core.ILocalizable) +NotFilter(cache(___types:EPiServer.Core.IVersionable)) +cache(Language.Name$$string:no) +NotFilter(cache(___types:EPiServer.Core.ILocalizable)) +cache(___types:EPiServer.Core.IVersionable) ++cache(Status:[4 TO 4]) +no_cache(StartPublishedNormalized$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(BooleanFilter(no_cache(StopPublish$$date:[* TO *])))) cache(StopPublish$$date:{1561383447301 TO 253402297199999]) +NotFilter(cache(BooleanFilter(no_cache(PublishedInLanguage.no.StopPublish$$date:[* TO *])))) cache(PublishedInLanguage.no.StopPublish$$date:{1561383447301 TO 253402297199999]) +no_cache(PublishedInLanguage.no.StartPublish$$date:[-62135596800000 TO 1561383447301]) +NotFilter(cache(___types:EPiServer.Security.IContentSecurable)) cache(UsersWithReadAccess$$string.lowercase:) cache(RolesWithReadAccess$$string:Anonymous RolesWithReadAccess$$string:Everyone) ++cache(Category:[68 TO 68]) cache(Category:[69 TO 69]) cache(Category:[71 TO 71]) cache(Category:[80 TO 80]) cache(Category:[81 TO 81]) cache(Category:[82 TO 82]) cache(Category:[83 TO 83]) cache(Category:[113 TO 113]) +cache(Ancestors$$string:107500) +cache(___types:EPiServer.Core.IContent)))->cache(___types:SiteCO.Models.Content.Pages.ArticlePage)],from[-1],size[3]: Parse Failure [Failed to parse source [{"size":3,"query":{"filtered":{"query":{"constant_score":{"filter":{"and":[{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.IContent"}}}},{"term":{"IsDeleted$$bool":false}}]},{"or":[{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}}]},{"and":[{"term":{"___types":"EPiServer.Core.ILocalizable"}},{"not":{"filter":{"term":{"___types":"EPiServer.Core.IVersionable"}}}},{"term":{"Language.Name$$string":"no"}}]},{"and":[{"not":{"filter":{"term":{"___types":"EPiServer.Core.ILocalizable"}}}},{"term":{"___types":"EPiServer.Core.IVersionable"}},{"and":[{"term":{"Status":4}},{"range":{"StartPublishedNormalized$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}},{"or":[{"not":{"filter":{"exists":{"field":"StopPublish$$date"}}}},{"range":{"StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]}]}]},{"and":[{"or":[{"not":{"filter":{"exists":{"field":"PublishedInLanguage.no.StopPublish$$date"}}}},{"range":{"PublishedInLanguage.no.StopPublish$$date":{"from":"now","to":"9999-12-31T22:59:59.9999999Z","include_lower":false,"include_upper":true}}}]},{"range":{"PublishedInLanguage.no.StartPublish$$date":{"from":"0001-01-01T00:00:00Z","to":"now","include_lower":true,"include_upper":true}}}]}]},{"or":[{"not":{"filter":{"term":{"___types":"EPiServer.Security.IContentSecurable"}}}},{"term":{"UsersWithReadAccess$$string.lowercase":""}},{"terms":{"RolesWithReadAccess$$string":["Everyone","Anonymous"]}}]},{"and":[{"or":[{"term":{"Category":68}},{"term":{"Category":69}},{"term":{"Category":71}},{"term":{"Category":80}},{"term":{"Category":81}},{"term":{"Category":82}},{"term":{"Category":83}},{"term":{"Category":113}}]},{"term":{"Ancestors$$string":"107500"}}]},{"term":{"___types":"EPiServer.Core.IContent"}}]}}},"filter":{"term":{"___types":"SiteCO.Models.Content.Pages.ArticlePage"}}}},"sort":[{"StartPublish$$date":{"order":"desc","unmapped_type":"date"}}],"fields":["___types","ContentLink.ID$$number","ContentLink.ProviderName$$string","Language.Name$$string"]}]]]; nested: ElasticSearchIllegalArgumentException[sort option [unmapped_type] not supported]; }]

This was fixed in Find 13.2.4 by adding a configuration option to enable legacy sorting as follows.
To enable legacy sorting, add useLegacySorting=true to your episerver.find config element.
<episerver.find serviceurl="" useLegacySorting="true" ...>