Hello!
I have a product directory, and right now the Search is only searching the text fields: name and description. That means it is not searching the data type and option set fields: category, style, brand, materials, etc.
And without that, it basically doesn’t work as a search… Anyone know of a fix for this? Is there a plugin, like Algolia that would work?
(The only ‘fix’ that I can think of is to put those fields into the description, also, so that they can be found.)
A real simple way to make this work is to have a field that includes everything you want to search.
So if you have a Title field and a Description field then also have a separate field for Title + Description. It doesn’t need to be displayed but you can just have it saved in your database. Then when you run a search you just need to search the one field instead of having a bunch of conditionals.
I think that is the simplest way to do it. At least that was the easiest way I know at the moment, and cheapest.
For example: if the title is updated, then I just update the other field as well. It’s all done at the same time. Not really done manually so to speak, but just done when saving the other fields.
I also had a way to press a button and it would update all of my previously uploaded data to make this field. Then I just pressed a button and it updated via a backend api workflow on the whole list. Didn’t take long at all. All automatic.