Hello Awesome Search & Filter devs!
Another issue here. I first posted on the Relevanssi support for help but looks like that isnt the issue.
Here’s my post on their forum:
—–
Niki Brown
Sep 5, 00:37 AST
From: Niki Brown <hi@nikibrown.com>
Subject: ACF repeater field not being searched and turning up search results
WP: 4.9.8
Relevanssi: premium 2.1.7
Message Body:
https://hilt.wpengine.com/
searching for AnnotationsX should bring up this page https://hilt.wpengine.com/ideas-and-tools/tools/
http://nikib.ro/wn/screenshots/Edit_Page__Harvard_Initiative_for_Learning_and_Teaching_HILT__WordPress_2018-09-04_17-34-43.png
This is set up as a repeater field.
I have selected ‘visible’ custom fields and rebuild the search index. My search forms are built with Search and Filter which is hooked up to your plugin.
http://nikib.ro/wn/screenshots/Relevanssi_Premium__Harvard_Initiative_for_Learning_and_Teaching_HILT__WordPress_2018-09-04_17-35-25.jpg
http://nikib.ro/wn/screenshots/Edit_Search_Form__Harvard_Initiative_for_Learning_and_Teaching_HILT__WordPress_2018-09-04_17-36-26.jpg
My search.php template page https://gist.github.com/nikibrown/4a063b421e614bbe905e45448df10e46
Not sure what else I’m missing here.
—-
And their dev’s response:
—
Mikko Saari (Painava sana)
Sep 5, 06:43 AST
Hi,
Custom fields definitely work in the free version; the only custom-field related Premium feature is the support for ACF repeater field format so you can index fields using the “field_%_subfield” notation. You can index and search all custom fields, including repeater fields, with the free version, it’s a core feature in Relevanssi, both free and Premium.
I bypassed Search & Filter, and the post can be found: https://hilt.wpengine.com/?s=annotationsx
So I’d look into what Search & Filter is doing to block the post from appearing in the results.
Mikko
—-
The custom fields do show up in regular search.
https://hilt.wpengine.com/?s=annotationsx
Anything obvious I’m missing here?
Thanks!
Niki