You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-get-started-powershell.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ All requests require an API key on every request sent to your service. Having a
72
72
}
73
73
```
74
74
75
-
## 1 - Create an index
75
+
## Create an index
76
76
77
77
Unless you're using the portal, an index must exist on the service before you can load data. This step defines the index and pushes it to the service. The [Create Index REST API](/rest/api/searchservice/create-index) is used for this step.
78
78
@@ -168,7 +168,7 @@ This index is named `hotels-quickstart` and has the field definitions you see in
168
168
169
169
<a name="load-documents"></a>
170
170
171
-
## 2 - Load documents
171
+
## Load documents
172
172
173
173
To push documents, use an HTTP POST request to your index's URL endpoint. The REST API for this task is [Add, Update, or Delete Documents](/rest/api/searchservice/addupdate-or-delete-documents).
174
174
@@ -306,7 +306,7 @@ To push documents, use an HTTP POST request to your index's URL endpoint. The RE
306
306
}
307
307
```
308
308
309
-
## 3 - Search an index
309
+
## Search an index
310
310
311
311
This step shows you how to query an index by using the [Search Documents API](/rest/api/searchservice/search-documents).
Copy file name to clipboardExpand all lines: articles/search/search-get-started-rest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ If you're not familiar with the REST client for Visual Studio Code, this section
70
70
71
71
:::image type="content" source="media/search-get-started-rest/rest-client-request-setup.png" lightbox="media/search-get-started-rest/rest-client-request-setup.png" alt-text="Screenshot that shows a REST client configured for a search service request.":::
72
72
73
-
**Key points:**
73
+
Key points:
74
74
75
75
- Parameters are specified by using an `@` prefix.
76
76
- `###` designates a REST call. The next line contains the request, which must include `HTTP/1.1`.
Copy file name to clipboardExpand all lines: articles/search/search-get-started-vector.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ The index schema is organized around hotel content. Sample data consists of vect
223
223
224
224
1. Select **Send request**. Recall that you need the REST client to send requests. You should have an `HTTP/1.1 201 Created` response. The response body should include the JSON representation of the index schema.
225
225
226
-
**Key points:**
226
+
Key points:
227
227
228
228
- The `fields` collection includes a required key field and text and vector fields (such as `Description` and `DescriptionVector`) for text and vector search. Colocating vector and nonvector fields in the same index enables hybrid queries. For instance, you can combine filters, text search with semantic ranking, and vectors into a single query operation.
229
229
- Vector fields must be `type: Collection(Edm.Single)` with `dimensions` and `vectorSearchProfile` properties.
@@ -371,7 +371,7 @@ api-key: {{apiKey}}
371
371
}
372
372
```
373
373
374
-
**Key points:**
374
+
Key points:
375
375
376
376
- Documents in the payload consist of fields defined in the index schema.
377
377
- Vector fields contain floating point values. The dimensions attribute has a minimum of 2 and a maximum of 3,072 floating point values each. This quickstart sets the dimensions attribute to 1,536 because that's the size of embeddings generated by the Open AI's **text-embedding-ada-002** model.
@@ -385,7 +385,7 @@ There are several queries to demonstrate various patterns:
385
385
-[Single vector search](#single-vector-search)
386
386
-[Single vector search with filter](#single-vector-search-with-filter)
387
387
-[Hybrid search](#hybrid-search)
388
-
-[Semantic hybrid search with filter](#semantic-hybrid-search-with-filter)
388
+
-[Semantic hybrid search with filter](#semantic-hybrid-search-with-a-filter)
389
389
390
390
The vector queries in this section are based on two strings:
391
391
@@ -791,7 +791,7 @@ Here's the last query in the collection. This hybrid query with semantic ranking
791
791
}
792
792
```
793
793
794
-
**Key points:**
794
+
Key points:
795
795
796
796
- Vector search is specified through the `vectors.value` property. Keyword search is specified through the `search` property.
797
797
- 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.
0 commit comments