Forums › Forums › Search & Filter Pro › Relevanssi and Filters
- This topic has 15 replies, 2 voices, and was last updated 7 years, 10 months ago by
Trevor.
-
Anonymous(Private) August 8, 2017 at 8:02 pm #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:
Trevor(Private) August 10, 2017 at 10:38 am #125430I 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(Private) August 10, 2017 at 4:59 pm #125494Hey 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.
Anonymous(Private) August 10, 2017 at 7:00 pm #125530It appears to do the same thing.
http://nmfma.identifiedmedia.com/?page_id=2287&_sf_s=%22santa%20fe%22
Anonymous(Private) August 11, 2017 at 11:35 pm #125696I 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(Private) August 12, 2017 at 8:43 am #125729So, 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.
-
AuthorPosts