-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
Hello, I would like to raise an issue about the test case.
According to fast-elasticsearch-vector-scoring/src/test/java/com/liorkn/elasticsearch/PluginTest.java file,
the test case uses params.put("refresh", "true") on data insertion request, which makes vector scoring result works properly.
public void test() throws Exception {
final Map<String, String> params = new HashMap<>();
params.put("refresh", "true");However, in production case, we often do not use refresh=true option on data insertion.
If we do not use this option, the vector scoring result does not work properly. (such as there are same cosine similarity score among result documents...)
I think one of two options should be considered
- Modify the test code (removing
refresh=true) -> this may cause code level modification of vector scoring plugin - Mention in the document that
refresh=trueoption must be provided on data insertion
Metadata
Metadata
Assignees
Labels
No labels