Full text search on multiple paths

Hi, I essentially want to search for a document where the title or the body match a query

[
        predicate.fulltext('my.blog_post.body', search),
        predicate.fulltext('my.blog_post.title', search),
      ]

Is there a way to do this ?

Hello Kyle,

Thanks for reaching out to us.

Since the field is inside the body, you need to query the whole document with the word "search." For example:

predicates.fulltext('document', 'search')

Give this a try and let me know.

Thanks,
Priyanka