We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to perform a search query for a custom post type (poems, similar to posts), and search in the value of the field "text_to_index".
For example, a poem (post) could have "text_to_index" custom field, with this value: "Please feed the cats"
I want to be able to search "cats" and retrieve the relevant poem node.
{ poems(where: {search: "cats"}) { nodes { id title content } } }
Currently, the above query only searches in "title" and "content". I need it to search in the value of ACF custom field.
How do I do that?
The text was updated successfully, but these errors were encountered:
@elron Did you find a solution?
Sorry, something went wrong.
I did not I used regular SQL query, also its much faster
No branches or pull requests
I want to perform a search query for a custom post type (poems, similar to posts), and search in the value of the field "text_to_index".
For example, a poem (post) could have "text_to_index" custom field, with this value:
"Please feed the cats"
I want to be able to search "cats" and retrieve the relevant poem node.
Currently, the above query only searches in "title" and "content". I need it to search in the value of ACF custom field.
How do I do that?
The text was updated successfully, but these errors were encountered: