Bingo!
Now it runs in 40-150 ms which is fine.
First, I thought the “trick” was to create separate “fields” for lat and lon… I had the feeling I was missing something like that - but couldn’t figure it out. But playing a little more with it I found that the order of the fields in the index alone improved my own query by a factor 2.
Thank you! - and again I’m positively surprised with the possibilities in Couchbase although I cannot control it all myself.
Have a nice weekend!
/John
PS. I had looked at the awesome article you refer to - and that gave me the basis of how to get to the query . I just had to unnest the points as I have many points and not just one POI point as in the samples I could find.