// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.mjs` to generate the docs examples

[source, js]
----
const response = await client.search({
  query: {
    intervals: {
      my_text: {
        match: {
          query: "salty",
          filter: {
            contained_by: {
              match: {
                query: "hot porridge",
              },
            },
          },
        },
      },
    },
  },
});
console.log(response);
----
