Search not working as expected
This topic contains 14 replies, has 4 voices, and was last updated by Guust 10 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: search
-
AuthorPosts
-
December 4, 2014 at 8:53 am #23459
Hello
I am working on a website and I am using the categories and near feature. I have performed the search and it is bringing back results that are not near or connected with the initial search query.
Please can you advise.
Thanks
Rob
December 4, 2014 at 8:56 am #23460This reply has been marked as private.December 4, 2014 at 8:56 am #23461Hello, without having a look at your website we can’t tell what’s wrong..could you please write your url and login details in a private reply? Thanks
Edit: Oops you were faster than me 🙂
December 4, 2014 at 9:50 am #23466Thanks I have added the information required to the post as private.
December 4, 2014 at 9:59 am #23468Are you looking for what keywords? keywords must be included in the listings title/description…also, I ve seen that in your location you have a lot of duplicates, try to merge them in only one location (e.g. Bath has three locations domain.com/wp-admin/admin.php?page=geodirectory&tab=managelocation_fields&subtab=geodir_location_manager )
December 4, 2014 at 10:07 am #23469In this instance, the Container Haulage is coming up because it is a category under the Companies post type, rather than a keyword search.
This is suggested by the auto complete, so I would imagine it would only pull up posts from that specific taxonomy, with the near field as well?
For this search, duplicate locations is not the case so there must be something else causing the issue?
Thanks
Rob
December 4, 2014 at 11:27 am #23474the duplicate locations is another issue that should be fixed, it’ not related to the search , I’m looking into it right now.
December 4, 2014 at 12:19 pm #23489all the virtual pages are missing, these are necessary to make the website works flawlessly. Please restore them following this tutorial
December 4, 2014 at 1:09 pm #23499Thanks for letting me know.
I will run this on a development website to see if this fixes the issue with the search not returning the correct results, and then report back with the situation.
Thanks for looking into this today.
December 4, 2014 at 1:22 pm #23503Hello,
I have run the code, and re run the search and there are 30 results, but now they are appearing in distance order I think.
There are still results showing which are not relevant to the “near” search criteria.
Any ideas please?
Thanks
Rob
December 4, 2014 at 5:47 pm #23519HI Rob,
can you make an example?
If you search while browsing the Everywhere location for something near somewhere, it will return all results, ordered by distance from the “somewhere” place your searched.
Thx
December 6, 2014 at 2:17 pm #23687This reply has been marked as private.December 6, 2014 at 8:31 pm #23702Hi,
as explained above, you must be browsing the Everywhere location. You don’t have (or I can’t see it) the location switcher in place, so probably no session is saved and the results are not correct.
Let us know,
December 7, 2014 at 11:31 am #23741Hi Paolo
The website doesn’t use the everywhere feature as we don’t require to know where the user is for operating the directory at this point. We just need to show them a list of services in relation to the location they are searching, not the location they currently are.
I was hoping the search would just work without needing to know the users location?
Thanks
Rob
December 7, 2014 at 12:00 pm #23742Just clarifying Paolo’s comment:
The everywhere feature is part of the multilocation addon.
You are talking about the share location addon.You have to add the switcher to your menu, and you’ll see the difference.
GD > design > navigation > add links to main menu
GD > multilocation > add switcher to menu. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket