Skip to content

Commit 0878898

Browse files
committed
remove geo filter from 5th search
1 parent c9515e1 commit 0878898

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ This search uses [SearchClient](/javascript/api/@azure/search-documents/searchcl
462462

463463
## Create a semantic hybrid search
464464

465-
Here's the last query in the collection. This hybrid query with semantic ranking is filtered to show only the hotels within a 500-kilometer radius of Washington D.C. You can set `vectorFilterMode` to null, which is equivalent to the default (`preFilter` for newer indexes and `postFilter` for older ones).
465+
Here's the last query in the collection.
466466

467467
This search uses [SearchClient](/javascript/api/@azure/search-documents/searchclient).[search](/javascript/api/@azure/search-documents/searchclient#@azure-search-documents-searchclient-search) and the [VectorQuery](/javascript/api/@azure/search-documents/vectorquery) and [SearchOptions](/javascript/api/@azure/search-documents/searchoptions).
468468

@@ -521,13 +521,8 @@ This search uses [SearchClient](/javascript/api/@azure/search-documents/searchcl
521521
Category: Suite
522522
```
523523

524-
The search finds three hotels, which are filtered by location and faceted by StateProvince and semantically reranked to promote results that are closest to the search string query (historic hotel walk to restaurants and shopping)
525-
526524
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:
527525

528-
* **Without semantic ranking**, Nordick's Valley Motel is number one.
529-
* **With semantic ranking**, the machine comprehension models recognize that historic applies to "hotel, within walking distance to dining (restaurants) and shopping."
530-
531526
Key takeaways:
532527

533528
- Vector search is specified through the `vectorSearchOptions` property. Keyword search is specified through the `semanticSearchOptions` property.

0 commit comments

Comments
 (0)