fix: remove onlyOnTypes from mustMatch

- Execute sort on all types (results include only
types that are possible to sort)

- mustMatch filters types with and AND (e.g. a type
that can be sorted by distance must be building and
room and point of interest)

Closes #83
This commit is contained in:
Jovan Krunić
2021-03-26 16:09:06 +01:00
committed by Rainer Killinger
parent 9488451080
commit 1d5f99b1fa
2 changed files with 1 additions and 39 deletions

View File

@@ -509,7 +509,7 @@ export interface ESGeoDistanceSortArguments {
[field: string]: {
/**
* Latitute
* Latitude
*/
lat: number;