Skip to content

Commit f735d80

Browse files
committed
typos
1 parent a2db7f9 commit f735d80

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/search/search-query-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Geospatial search matches on a location's latitude and longitude coordinates for
100100

101101
Geospatial search uses kilometers for distance. Coordinates are specified in this format: `(longitude, latitude`).
102102

103-
Here's an example of a filter for geospatial search. This filter finds other `Location` fields in the search index that have coordinates within a 300 kilometer radius of the geograpy point (in this example, Washington D.C.). It returns address information in the result, and includes an optional `facets` clause for self-navigation based on location.
103+
Here's an example of a filter for geospatial search. This filter finds other `Location` fields in the search index that have coordinates within a 300-kilometer radius of the geography point (in this example, Washington D.C.). It returns address information in the result, and includes an optional `facets` clause for self-navigation based on location.
104104

105105
```http
106106
POST https://{{searchServiceName}}.search.windows.net/indexes/hotels-vector-quickstart/docs/search?api-version=2023-07-01-Preview

articles/search/vector-search-ranking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Vector search algorithms are specified in the json path `vectorSearch.algorithmC
2727

2828
- [Create a vector index](vector-search-how-to-create-index.md)
2929

30-
Because many algorithm configuration parameters are used to initialize the vector index during index creation, they are immutable parameters and cannot be changed once the index is built. There is a subset of query-time parameters that may be modified.
30+
Because many algorithm configuration parameters are used to initialize the vector index during index creation, they're immutable parameters and can't be changed once the index is built. There's a subset of query-time parameters that may be modified.
3131

3232
## How HNSW ranking works
3333

@@ -37,7 +37,7 @@ For example, if a query request is about hotels, the model maps the query into a
3737

3838
### Indexing vectors with the HNSW algorithm
3939

40-
The goal of indexing a new vector into a HNSW graph is to add it to the graph structure in a manner that allows for efficient nearest neighbor search. The following steps summarize the process:
40+
The goal of indexing a new vector into an HNSW graph is to add it to the graph structure in a manner that allows for efficient nearest neighbor search. The following steps summarize the process:
4141

4242
1. Initialization: Start with an empty HNSW graph, or the existing HNSW graph if it's not a new index.
4343

@@ -47,9 +47,9 @@ The goal of indexing a new vector into a HNSW graph is to add it to the graph st
4747

4848
- Each node is connected to up to `m` neighbors that are nearby. This is the `m` parameter.
4949

50-
- The number of data points that will be considered as candidate connections is governed by the `efConstruction` parameter. This dynamic list will form the set of closest points in the existing graph for the algorithm to consider. Higher `efConstruction` values will result in more nodes being considered, which often leads to denser local neighborhoods for each vector.
50+
- The number of data points that considered as candidate connections is governed by the `efConstruction` parameter. This dynamic list forms the set of closest points in the existing graph for the algorithm to consider. Higher `efConstruction` values result in more nodes being considered, which often leads to denser local neighborhoods for each vector.
5151

52-
- These connections use the configured similarity `metric` to determine distance. Some connections will be "long-distance" connections that connect across different hierarchical levels, creating shortcuts in the graph that enhance search efficiency.
52+
- These connections use the configured similarity `metric` to determine distance. Some connections are "long-distance" connections that connect across different hierarchical levels, creating shortcuts in the graph that enhance search efficiency.
5353

5454
1. Graph pruning and optimization: This may be performed after indexing all vectors to improve navigability and efficiency of the HNSW graph.
5555

@@ -63,7 +63,7 @@ In the HNSW algorithm, a vector query search operation is executed by navigating
6363

6464
1. Pruning: To improve efficiency, the algorithm prunes the search space by only considering nodes that are likely to contain nearest neighbors. This is achieved by maintaining a priority queue of potential candidates and updating it as the search progresses. The length of this queue is configured by the parameter `efSearch`.
6565

66-
1. Refinement: As the algorithm moves to lower, more granular levels, HNSW will consider more neighbors near the query, which allows the candidate set of vectors to be refined, improving accuracy.
66+
1. Refinement: As the algorithm moves to lower, more granular levels, HNSW considers more neighbors near the query, which allows the candidate set of vectors to be refined, improving accuracy.
6767

6868
1. Completion: The search completes when the desired number of nearest neighbors have been identified, or when other stopping criteria are met. This desired number of nearest neighbors is governed by the query-time parameter `k`.
6969

0 commit comments

Comments
 (0)