In order to do that i used $geoNear (which is very good performative in 3.2
version ). However when i combine with tags (using $all) , query then
becomes slower, which makes sense, because $all searches all the documents
based on first element then refines based on other elements. The main
reason for a query becomes slower is increasing limit (e.g: 10 to 100 or
more) and array elements["thai", "indian", .....]. For example if i search
restaurants with 4 food type tags, query becomes super slow rather than if
i search restaurants with 1 food type tags.
I was wondering if anybody can help me either figuring out best schema for
this collection or providing better query options.
You received this message because you are subscribed to the Google Groups "mongodb-user"