Advance Search now showing results

This topic contains 23 replies, has 3 voices, and was last updated by  Kai Liu 5 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #453574

    Kai Liu
    Expired Member
    Post count: 368

    Try to search by using CPT and Location, returns either none or very few results, where I know that there are hundreds of records in that city. I did not put any criteria in “Search For” because I just wanna list all listing in selected CPT and location.

    Please advise

    #453580

    Guust
    Moderator
    Post count: 29970

    It all depends how you search, see https://wpgeodirectory.com/docs/gd-search/

    If you post the URL of the search results page, we may be able to assist better.

    For example, if you search IN Melbourne, you only will get listing in the CBD, not Richmond, or North Melbourne etc.
    If you search NEAR THE CENTER of Melbourne, then it depends on the radius set at GD > Gerneral > Search.

    Thanks

    #453600

    Kai Liu
    Expired Member
    Post count: 368

    Yes, I understand that. However, it returns 5 results, while I have over thousand in just Melbourne CBD.

    #453612

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #453697

    Kai Liu
    Expired Member
    Post count: 368
    This reply has been marked as private.
    #453703

    Guust
    Moderator
    Post count: 29970

    That is not relevant.
    What is relevant is the post_city and in the screenshot you provided I see already three different ones. Please review
    https://wpgeodirectory.com/docs/definitions/#location
    and
    https://wpgeodirectory.com/docs/manage-location/#merge

    #453706

    Kai Liu
    Expired Member
    Post count: 368

    Oh.. so search is not Reg Ex, it looks for matching location word?

    #453707

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #453730

    Kai Liu
    Expired Member
    Post count: 368

    great to know that there is such feature. thanks so much

    #453743

    Guust
    Moderator
    Post count: 29970

    Oh.. so search is not Reg Ex, it looks for matching location word?
    Have a read of this again: https://wpgeodirectory.com/docs/gd-search/#near

    The default GD search is not an IN search, but a search NEAR THE CENTER OF.
    Although the default search for this field is a NEAR THE CENTER OF search, with the Advanced Search addon, you can set this field to auto-suggest locations based on the title of the listings, see Near Autocompleter settings.
    Please note that if you have the Location Manager addon activated, the Near Autocompleter will start giving suggestions as your visitor starts searching, which if selected will search IN the location being entered (ie the city or region in the address of the listing) and will not search an area NEAR THE CENTER OF that location”

    #453744

    Kai Liu
    Expired Member
    Post count: 368

    Guust,

    Please advise for all the problem address listed in Manage Location, are they individual listing? I am planning to delete them all. Will deleting one end up deleting listing of the whole city, region?

    Thanks

    #453748

    Guust
    Moderator
    Post count: 29970

    Figure out what locations Google uses. In Oz, you will find that is Country > State or territory > Town or suburb.
    Then merge any locations that fall within that suburb into the correct location.
    That will create one location from all the others you merged.

    From https://wpgeodirectory.com/docs/manage-location/#merge

    Do not delete a location because that will also delete any listings in that location!

    #453906

    Kai Liu
    Expired Member
    Post count: 368

    Guust,

    I found a way to correct all these problem post_city.

    In Manage Location, there is edit/add location button to Edit/Add Location Tab. There I can click Set On Map to correct the city and State value (believe by google API using coordinates to find out city and state). But, even when I click SAVE, it doesn’t alter the record with wrong address. I have to go back to Manage Location, select it, then click MERGE button to update.

    Is there an automated way to correct all these. Functionally it is all capable by doing it manually but not realistic to do it like that. I got 20K records stuck there

    Please advise

    #453907

    Kai Liu
    Expired Member
    Post count: 368
    This reply has been marked as private.
    #453913

    Guust
    Moderator
    Post count: 29970

    It is not correct to edit all the cities, you will just end up with heaps of same cities.
    You need to merge any locations that fall within that suburb into the correct location.
    That will create one location from all the others you merged.

    The Google API creates the correct address if you add the listings in the frontend or backend.
    Your addresses are incorrect because of a poor CSV import.

    Thanks

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

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

Open Support Ticket