I'm trying to setup a text search that includes all custom fields. All fields are single line text fields.
I have added the fields manually to the relevanssi settings, as well as selecting the 'All" option for which fields to index, and I have rebuilt the index numerous times.
I have ensured that the Post search filter is set to include custom fields.
(note: if I set the post search filter to content and title, it will return matching titles, but if I set it to include fields, it doesn't even appear to do the search.
I have followed the instructions here: hidden link
and I can see that relevanssi is indeed picking up the correct fields and values.
But text search only works on the title. Please advise.
It sounds like you are doing the right things, but it would help if we could access your site to see for ourselves and to verify how you have this set up.
Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.
Where can we find the search View?
Do you have an example of a search to test with, and which results should be returned?
I'm seeing an error when I try to log in using these credentials. Can you double-check the password for me? I also tried using the same login from another ticket, but got the same error message:
That's why the search doesn't appear to function correctly. This code looks like it was used for testing, but never removed. I think this code should be removed or commented out if you're not actively testing things.