ASF results and sorting – need suggestion

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #517478

    vivek
    Full Member
    Post count: 246

    Hi, As i have observed ASF behaviour: (1) ASF shows results for each word typed in the box, and then sorts the results based on relevance (2) However, if NEAR MY LOCATION is selected, then the sorting of results is ONLY by Distance to Post (DTP), and (3) To show DTP in search results it is necessary to select NEAR MY LOCATION, otherwise DTP is not shown in results.

    I wanted to always show the DTP in the results, so i did a customisation to insert “Near my location” whenever a search is done (and thus hid the near box from the bar)- this allow me to show DTP always in the results and results are sorted by DTP – this works fine if i get precise results from the term entered by user, as only relevnat results are shown, AND they are sorted by DTP [ eg i have a CPT called SCHOOLS in which there are say 200 schools, of which 5 branches of VIBGYOR SCHOOL are also there. If user searches for VIBGYOR, then only the 5 results are shown, and sorted by DTP – perfect.

    However, if the user searches for VIBGYOR SCHOOL then all 200 results show up as all listings contain the word School. And now 200 listings show sorted by DTP in which the VIBGYOR SCHOOLs may appear on page 4…as the DTP has taken precedence over relevance

    I know that this is a custom requirement but I just thought i should ask if you have a suggestion on what would be a way to (1) show relevant results first (2) also show DTP in results (ie not sort by DTP by default,but giev the user an option to do so if they want)

    thanks, Vivek

    However if the user enters

    #517548

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount