Forums Forums Search & Filter Pro Relevanssi and Filters

Viewing 10 posts - 1 through 10 (of 16 total)
  • Anonymous
    #125156

    When I enabled the Relevanssi option with the plugin installed it caused my filters to stop working after a search is input. I checked that it’s index is complete and the S&F cache is built. Here’s an example search where none of the filters work:

    http://nmfma.identifiedmedia.com/?page_id=2287&_sf_s=Santa%20Fe

    The filters work prior to inputting anything into the search field as an example:

    http://nmfma.identifiedmedia.com/?page_id=2287&_sfm_wpsl_store=Farmers%27%20Market&_sft_wpsl_store_category=santa-fe-area

    Trevor
    #125256
    This reply has been marked as private.
    Anonymous
    #125356
    This reply has been marked as private.
    Trevor
    #125430

    I suspect it has more to do with you using the same taxonomy twice in the form. This you should not do. I do not wish to edit your site myself, but you need to make separate taxonomies for Region and Day of the Week so that you do not need to use the advanced settings in these form fields. This post tries to explain this a bit better (you can use a plugin to switch category terms from media-category to any new taxonomy that you make, so it is not so hard to do). It is a really awful preachy lecture I wrote:

    https://support.searchandfilter.com/forums/topic/multiple-categories-combination/#post-55166

    Sorry about the tone, but the message is right and it links to good plugins (except taxonomy switcher I think). If I missed anything (I probably did, my apologies), follow up and nudge me.

    Anonymous
    #125494

    Hey so I removed the second instance of the Taxonomy and it appears to work fine for single word searches but not so well if there’s multiple words. Here’s an example:

    http://nmfma.identifiedmedia.com/?page_id=2287&_sf_s=santa%20fe

    If you search anything else like Taos or Albuquerque it will work perfectly fine. Unfortunately the client this project for is in Santa Fe so I need to figure out a solution.

    Trevor
    #125522

    What happens if you put the phrase in quotes?

    Anonymous
    #125530
    Trevor
    #125532

    And yet, Los Lunas works?

    Anonymous
    #125696

    I was also able to get Silver City to work but still stumped on the Santa Fe or Santa Rosa or just Santa doesn’t work. I also tried a few others and found that Farmington is another that doesn’t work when Relevanssi is enabled. In attempts to go without that plugin I tried adding this code to the search but that didn’t seem to work through S&F.

    Trevor
    #125729

    So, what we know is that it is not the format (i.e. a two word name) that causes this.

    When Relevanssi is not enabled, searching works OK.

    I have not come across a problem like this before, so that would suggest something is wrong in the server/WordPress setup.

    If you are OK with searching the WP database, I would suggest you search the Relevanssi cache table to see if those posts are in there, and if it has cached those names.

    There is a WP Plugin called ARI Adminer that will let you do this, if you do not know how to access the database any other way.

Viewing 10 posts - 1 through 10 (of 16 total)