¿Ayuda filtrar documentos por otra propiedad antes de realizar una consulta geoespacial a través de la API de búsqueda?
Frecuentes
Visto 37 equipos
0
In the Search API for App Engine, there is an option to query documents containing Geopoints by the distance from a given Geopoint. Would it improve performance or reduce costs if I filter the documents by another property like "city" before using a query that filters by distance of the entities represented by the documents from user's location?
1 Respuestas
0
If adding a city filter significantly reduces the number of results (i.e. a large part of a search circle is beyond the city limits) then this filter will improve performance. On the other hand, if your search happens to be inside a city, adding this filter will degrade performance.
Respondido el 12 de junio de 14 a las 16:06
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas java google-app-engine search geospatial or haz tu propia pregunta.
This is very interesting, can you link some documentation on how query order works with regard to optimisation? - Nick