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

[source, js]
----
const response = await client.search({
  index: "semantic-embeddings",
  retriever: {
    rrf: {
      retrievers: [
        {
          standard: {
            query: {
              match: {
                content: "How to avoid muscle soreness while running?",
              },
            },
          },
        },
        {
          standard: {
            query: {
              semantic: {
                field: "semantic_text",
                query: "How to avoid muscle soreness while running?",
              },
            },
          },
        },
      ],
    },
  },
  highlight: {
    fields: {
      semantic_text: {
        number_of_fragments: 2,
      },
    },
  },
});
console.log(response);
----
