Hi @emiliano, you can use the query option to set a search query here. Here is an example for how you could search the title field:
await builder.getAll("blog-model", {
options: { noTargeting: true },
limit: 100,
query: { data: { title: { $regex: searchQuery }}}
}
)
You can find some more details about this on this forum post:
You can also check out our Algolia plugin for more search capabilities: Algolia Plugin | Builder.io - Builder.io
Thanks,
Sarah