WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Relevanssi – A Better Search] How to restrict search to custom field value

[Plugin: Relevanssi – A Better Search] How to restrict search to custom field value

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

    @msaari

    No, it doesn’t work like that…

    You can restrict search results to posts that either have certain custom field present (have a reviewer) or have a certain value for the custom field (have a certain reviewer), but you can’t have Relevanssi search the custom fields only.

    With the way Relevanssi works, searching only for custom field content is possible, but restricting it to a certain custom field gets a bit tricky, as the index only has a column for “custom field”, not each and every custom field.

    Thanks for the explanation: I’ve actually realised I was unnecessarily overcomplicating things anyway – as so often, the simplest solution is best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Relevanssi – A Better Search] How to restrict search to custom field value’ is closed to new replies.