Skip to content

Commit b03dc91

Browse files
committed
edits
1 parent c08448b commit b03dc91

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/search/includes/quickstarts/search-get-started-vector-javascript.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,13 @@ This search uses [SearchClient](/javascript/api/@azure/search-documents/searchcl
481481

482482
You can think of the semantic ranking as a way to improve the relevance of search results by understanding the meaning behind the words in the query and the content of the documents. In this case, the semantic ranking helps to identify hotels that are not only relevant to the keywords but also match the intent of the query:
483483
484-
Key takeaways:
485-
486-
- Vector search is specified through the `vectorSearchOptions` property. Keyword search is specified through the `semanticSearchOptions` property.
487-
488-
- In a hybrid search, you can integrate vector search with full-text search over keywords. Filters, spell check, and semantic ranking apply to textual content only, and not vectors. In this final query, there's no semantic `answer` because the system didn't produce one that was sufficiently strong.
489-
490-
- Actual results include more detail, including semantic captions and highlights. Results were modified for readability. To get the full structure of the response, run the request in the REST client.
484+
Key takeaways:
485+
486+
- Vector search is specified through the `vectorSearchOptions` property. Keyword search is specified through the `semanticSearchOptions` property.
487+
488+
- In a hybrid search, you can integrate vector search with full-text search over keywords. Filters, spell check, and semantic ranking apply to textual content only, and not vectors. In this final query, there's no semantic `answer` because the system didn't produce one that was sufficiently strong.
489+
490+
- Actual results include more detail, including semantic captions and highlights. Results were modified for readability. To get the full structure of the response, run the request in the REST client.
491491

492492
## Clean up
493493

@@ -501,6 +501,7 @@ If you want to keep the search service, but delete the index and documents, you
501501
1. Add the dependencies, environment variables, and code to delete the index.
502502

503503
:::code language="javascript" source="~/azure-search-javascript-samples/quickstart-vector-js/src/deleteIndex.js" :::
504+
504505
1. Build and run the file:
505506

506507
```console

0 commit comments

Comments
 (0)