rest smart search for location lmost working end to end