Skip to content

Commit d20522d

Browse files
committed
combine best practices and performance considerations
1 parent 3cb7304 commit d20522d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/user_guides/fs/vector_similarity_search.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,15 @@ It is also possible to get back feature vector by providing the primary keys, bu
9494
fv.get_feature_vector({"news_id": 1})
9595
```
9696

97-
# Best Practices
98-
## Choose the Appropriate Online Feature Stores
99-
100-
There are 2 types of online feature stores in Hopsworks: online store (RonDB) and vector store (Opensearch). Online store is designed for retrieving feature vectors efficiently with low latency. Vector store is designed for finding similar embedding efficiently. If similarity search is not required, using online store is recommended for low latency retrieval of feature values including embedding.
101-
10297
# Performance considerations for Feature Groups with Embeddings
10398
## Choose Features for Vector Store
10499

105100
While it is possible to update feature value in vector store, updating feature value in online store is more efficient. If you have features which are frequently being updated and do not require for filtering, consider storing them separately in a different feature group. As shown in the previous example, `view_cnt` is updated frequently and stored separately. You can then get all the required features by using feature view.
106101

102+
## Choose the Appropriate Online Feature Stores
103+
104+
There are 2 types of online feature stores in Hopsworks: online store (RonDB) and vector store (Opensearch). Online store is designed for retrieving feature vectors efficiently with low latency. Vector store is designed for finding similar embedding efficiently. If similarity search is not required, using online store is recommended for low latency retrieval of feature values including embedding.
105+
107106
## Use New Index per Feature Group
108107

109108
Create a new index per feature group to optimize retrieval performance.

0 commit comments

Comments
 (0)