WP: 5.2.4
Relevanssi: 2.4.3
Message Body:
hidden link
above have picture describe.
And here added admin login for you to check out
hidden link
Hello,
Thanks for the details, I have edited your post to remove your website credentials, it is not safe to show those information publicly.
I can log into your website, here are what I found:
1) You are using "Relevanssi Premium" plugin, so those links you mentioned in the screenshot do not work, those link are based on Relevanssi free plugin, download from:
https://wordpress.org/plugins/Relevanssi/
2) In your case, you can follow our document to setup the Relevanssi settings:
https://toolset.com/documentation/user-guides/searching-texts-custom-fields-views-relevanssi/
3) It seems you have already setup those settings correctly, and I have tested it in your website home page, search with keyword "nrthtryrty", I can see there is only one correct item in view's output, for example:
hidden link
One notice:
You can add the following kinds of fields to Relevanssi’s index:
- Single line
- Multiple line
- WYSIWYG
See the document I mentioned above, section "Which custom fields can I add to Relevanssi’s index with Toolset?
"
Thanks for your help. I already change to free version.
but you say Relevanssi settings index option can not found custom field.
Where can I find custom place to setting.
I buy Premium because can not find custom field place.
we want to address, E-mail , phone can be search either.
Q1) First, I did not say this: Relevanssi settings index option can not found custom field
Please check these in your website:
Dashboard-> 設定-> Relevanssi-> Indexing
in section "Custom fields", you are using "All" option, so all custom fields will be indexed by "Relevanssi" plugin.
If you need only some specific custom fields to be indexed, you can switch to option "Some", and fill the custom field slugs, like this:
"wpcf-k" is field slug of field "關鍵字"
"wpcf-t" is field slug of "其他聯絡方式"
See the document I mentioned above:
https://toolset.com/documentation/user-guides/searching-texts-custom-fields-views-relevanssi/#adding-the-fields-and-rebuilding-the-index
Q2) we want to address, E-mail , phone can be search either.
As the document I mentioned above, there isn't such kind of built-in feature within Toolset Views plugin, Views Relevanssi’s index supports only three kinds of custom field:
- Single line
- Multiple line
- WYSIWYG
You might consider add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
As a workaround, you can also add three fields in Views custom search form:
- address
- E-mail
- phone
So your user can also search on those custom fields too.
More help:
https://toolset.com/documentation/user-guides/front-page-filters/
I already setting but can not work, and rebuild index and update to Premium can not work too
As picture I added
Where and how can I see the problem as you mentioned above:
setting but can not work
I have tried these in your website:
1) Create a new "廠商登錄" post:
hidden link
in field "關鍵字" fill value: keyword A
in field "其他聯絡方式" fill value: keyword B
2) Test it in front-end:
Search with above two keywords, for example:
hidden link
hidden link
I can see it works fine, output the new post correctly.
Is there any missing?
Thanks for the screenshot, as I mentioned above:
You are using "Relevanssi Premium" plugin, so the link you mentioned in the screenshot does not work, that link is based on Relevanssi free plugin
https://toolset.com/forums/topic/can-not-using-relevanssi-setting-to-added-custom-field-into-search/#post-1363115
You just need to do as mentioned in our document:
Dashboard-> 設定-> Relevanssi Premium-> Indexing
in section "Custom fields", copy/paste the field slugs as what you have already done: