Skip to content

Commit 93a71e3

Browse files
committed
fix sparse vector strategy bug (duplicate size)
1 parent 32ec1ed commit 93a71e3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

elasticsearch/helpers/vectorstore/_async/strategies.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ def es_query(
137137
],
138138
"filter": filter,
139139
}
140-
},
141-
"size": k,
140+
}
142141
}
143142

144143
def es_mappings_settings(

elasticsearch/helpers/vectorstore/_sync/strategies.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ def es_query(
137137
],
138138
"filter": filter,
139139
}
140-
},
141-
"size": k,
140+
}
142141
}
143142

144143
def es_mappings_settings(

0 commit comments

Comments
 (0)