Fulltext search in custom fields

Hey @aubergine - for complex queries like with $or try using full objects as values (we parse all values with JSON5). E.g.:

https://cdn.builder.io/api/v2/content/docs-content?apiKey=YJIGb4i01jvw0SRdL5Bt&fields=name&query.$or=[{‘data.title’:{$regex:‘Shopify’}},{‘data.description’:{$regex:‘Shopify’}}]

The above should work for $and as well. If it doesn’t - can you send a full example URL you are using so we can help you more specifically debug?

For a search of all content, you can use our (beta) search API that searches the full contents with elasticsearch. Note that elasticsearch doesn’t support partial word matching, so you must search full words. For example, you can search all of our docs that mention “Shopify” with this

https://cdn.builder.io/api/v1/search/docs-content?apiKey=YJIGb4i01jvw0SRdL5Bt&search=shopify&fields=name