It's working as it should provided the code I have in place. I had to double check the search results it was returning (so I was incorrect in my last post, sorry)
It's pulling from the zip code and matching the search terms. Note that it is matching the exact zip code only, and not pulling from the surrounding locations as it should. It would do the visitors no good if they'e searching for a product and it shows zero results for an exact zip code. I would like for them to search for multiple items at once and it pull from locations near them, not just their location. So the code in place is using their zip code, but it's doing a exact match of it as oppose to using the geo search capabilities and finding locations from x miles from the starting point. On Wednesday, August 20, 2014 3:48:02 PM UTC-4, alexa wrote: > > I was looking through the docs and I couldn't find the answer I was > seeking. Perhaps someone here can point me in the right direction. > > I am going to setup so when a user performs a search it will include their > location by default. What I couldn't find in the docs is how can a multiple > search query be done from within the users distance? > > The search presently functions that I can do multiple search query, ex: > 10001, guitar, stereo. The results will show matches from 1 of the 3 > keywords. So it will show all things related to 10001, all things related > to guitar, and all things related to stereo. > > I would like for it to show results from within the specify distance (set > by default in the controller) for the "guitar" and "stereo" keyword. Thus > meaning, the default method will pull the "guitar" and "stereo" listings > from any distance. Instead it should pull "guitar" and "stereo" listings > that are within distance to the "10001" location only. > > This way a user can search the state of New York for guitars and or > stereos, as oppose to pulling all NY related searches, all guitar searches, > and all stereo searches which would essentially be returning results from > all 50 states. > > Is this possible to do? > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/d/optout.
