Include results with tags relevant to the search keyword with JSON rest API v2
Wordpress doesn't natively search for tags so I need to install WP Extended Search and add post_tags as one of its parameters so whenever I search for keywords natively, posts with that tag will appear.
However, when I tried searching on the wp-json REST API, that post doesn't appear. Here's an example with a post that is tagged with technology.
When I search technology using this json rest api url, it returns an empty array:
example.com/posts?search=technology
But if I search natively using this url, the posts tagged with technology appears
example.com/wp-json/wp/posts?search=technology
The only way the posts will appear is when I put technology somewhere in the title or in the content but I don't want to put it in the content. How will my posts with tags appear in the results on the REST API when I search for that keyword?