• Resolved keribrady1

    (@keribrady1)


    We are indexing approximately 30 custom fields in Relevanssi, and they all seem to be working fine in search except for one, which is a text type field.

    I tried deleting the plugin and re-installing it, and checked the search.php file and confirmed there is no query_posts() call (per the “Most important Relevanssi debugging trick” instructions).

    We are using the Advanced Custom Fields PRO plugin to create the custom fields.

    I’m stumped — what could be causing this one field to not be indexed?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    There clearly aren’t any major issues, if the other custom fields are working fine.

    What kind of content are you storing in that field? Can you give me some examples?

    Thread Starter keribrady1

    (@keribrady1)

    Hi Mikko —

    We’re just storing plain text in that field, so it’s really odd it’s not being indexed.

    For context, this field contains the name of an event host, and the name of the custom field is “host”.

    Any additional troubleshooting tips? Could it be the name of the field causing an issue? Seems far-fetched, but no other settings are unique for that field.

    Thread Starter keribrady1

    (@keribrady1)

    Welp, our team figured out what was going on! The “host” custom field was in a section of the results page that used wp_query(), and Relevansii doesn’t automatically add the custom fields to WP_Query.

    One of our devs used the info in this article to fix: https://www.relevanssi.com/knowledge-base/relevanssi_do_query/

    Thanks for your quick reply, Mikko!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advanced Custom Field (text) not being indexed’ is closed to new replies.