From 76f7eda87965655d272e7540196215cbbb3f85ff Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Tue, 10 Oct 2023 11:12:47 -0700 Subject: [PATCH] fix semantic search docs search request (#5179) Signed-off-by: Joshua Li --- _ml-commons-plugin/semantic-search.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_ml-commons-plugin/semantic-search.md b/_ml-commons-plugin/semantic-search.md index 837435f5875..b94c88f18b4 100644 --- a/_ml-commons-plugin/semantic-search.md +++ b/_ml-commons-plugin/semantic-search.md @@ -598,7 +598,7 @@ PUT /my-nlp-index/_doc/5 When the documents are ingested into the index, the `text_embedding` processor creates an additional field that contains vector embeddings and adds that field to the document. To see an example document that is indexed, search for document 1: ```json -GET /my-nlp-index/_search/1 +GET /my-nlp-index/_doc/1 ``` {% include copy-curl.html %} @@ -1022,4 +1022,4 @@ DELETE /_plugins/_ml/model_groups/Z1eQf4oB5Vm0Tdw8EIP2 ## Further reading - Read about the basics of OpenSearch semantic search in [Building a semantic search engine in OpenSearch](https://opensearch.org/blog/semantic-search-solutions/). -- Read about the benefits of combining keyword and neural search, the normalization and combination technique options, and benchmarking tests in [The ABCs of semantic search in OpenSearch: Architectures, benchmarks, and combination strategies](https://opensearch.org/blog/semantic-science-benchmarks/). \ No newline at end of file +- Read about the benefits of combining keyword and neural search, the normalization and combination technique options, and benchmarking tests in [The ABCs of semantic search in OpenSearch: Architectures, benchmarks, and combination strategies](https://opensearch.org/blog/semantic-science-benchmarks/).