Forums › Forums › Search & Filter Pro › Bad results
- This topic has 3 replies, 2 voices, and was last updated 5 years, 10 months ago by
Trevor.
-
Anonymous(Private) December 7, 2020 at 10:35 am #268931
Hi
I’v got a several fields search form ( some are ACF). It is an “AND” request. Whatever i enter in the keywords field, leaving other fields to “all” , I have the same wrong results.
If I complete the search with a category field, I have those same wrong results, plus the good ones…
Thanks
GillesAnonymous(Private) December 7, 2020 at 11:26 am #268969Thanks for your answer
Here is the search page:
https://bassinversant.org/rechercheTry this :
1 – just in the keyword enter a number 2682*.The only right answer is the last one.(you may try with “Vade-mecum à l’usage des maires”
2 – try an other number , the first wrong results are still there
3- If your try 2682 and select rubrique > PRZH(1) , the results is the same…wrong
4- if you add “type de contenus” > ressources …the result is good ( just one answer)* it is an ACF field with is not shown on the front office
Thanks
Trevor(Private) December 7, 2020 at 2:59 pm #268989Ah, you want it to search in a Custom Field?
Our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy (Category, Tags and Taxonomies) data/terms. The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see 2 settings for Relevanssi.
The documentation for this is here:
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
You would need to install and activate the free Relevanssi plugin as well.
Then set Relevanssi up and build its index (make sure it is indexing the desired post types, custom fields AND any taxonomy that you want to search).
-
AuthorPosts