Search not working as expected

This topic contains 14 replies, has 4 voices, and was last updated by  Guust 9 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #23459

    robertchittock
    Free User
    Post count: 19

    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

    #23460

    robertchittock
    Free User
    Post count: 19
    This reply has been marked as private.
    #23461

    Simone
    Expired Member
    Post count: 3515

    Hello, 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 🙂

    #23466

    robertchittock
    Free User
    Post count: 19

    Thanks I have added the information required to the post as private.

    #23468

    Simone
    Expired Member
    Post count: 3515

    Are 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 )

    #23469

    robertchittock
    Free User
    Post count: 19

    In 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

    #23474

    Simone
    Expired Member
    Post count: 3515

    the duplicate locations is another issue that should be fixed, it’ not related to the search , I’m looking into it right now.

    #23489

    Simone
    Expired Member
    Post count: 3515

    all the virtual pages are missing, these are necessary to make the website works flawlessly. Please restore them following this tutorial

    #23499

    robertchittock
    Free User
    Post count: 19

    Thanks 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.

    #23503

    robertchittock
    Free User
    Post count: 19

    Hello,

    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

    #23519

    Paolo
    Site Admin
    Post count: 31206

    HI 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

    #23687

    robertchittock
    Free User
    Post count: 19
    This reply has been marked as private.
    #23702

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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,

    #23741

    robertchittock
    Free User
    Post count: 19

    Hi 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

    #23742

    Guust
    Moderator
    Post count: 29970

    Just 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.

Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket