Skip to content

Commit fddeaa5

Browse files
authored
PI-2526 Switch to the lucene knn engine (#4553)
Lucene supports radial search (unlike the default hnsw) while maintaining support for the cosine similarity space. See: * https://opensearch.org/docs/latest/search-plugins/knn/radial-search-knn/ * https://opensearch.org/docs/latest/search-plugins/knn/knn-index#method-definitions
1 parent 0904f06 commit fddeaa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/person-search-index-from-delius/container/pipelines/contact/index/index-template-semantic.yml

+2
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,8 @@ template:
800800
type: knn_vector
801801
dimension: 1024
802802
space_type: cosinesimil
803+
method:
804+
engine: lucene
803805
notes:
804806
copy_to: text
805807
type: text

0 commit comments

Comments
 (0)