Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author jhned

    (@jhned)

    Hey Jacob,

    We hadn’t really considered that yet. The way the search currently works is by matching post titles to the search query. Are you suggesting that the search could match custom field values, or custom field keys?

    Either way, adding that kind of data to the search index would increase the cache size dramatically. However, we are planning on moving our search functions to use the WP REST API in the near future, so perhaps searching by custom fields in addition to post title could be a feature for when we work on that.

    I’ve opened a new issue for this on the ACP Github repo, so if you have more comments/suggestions for us, feel free to add them there. Thanks for the idea!

    Thread Starter Jacob Dubail

    (@jacobdubail)

    Thanks jhned!

    I’ll move the convo over there, but using the REST API sounds like a grand idea.

    I have a client need for custom field value lookup. Just one key, but need to be able to find posts quickly by a custom field value. Would be nice if there was a filter where I can add custom fields by key to the index.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Fields’ is closed to new replies.