mirror of
https://github.com/slhaf/Partner.git
synced 2026-10-25 02:43:49 +00:00
fix(vector): skip upsert when vector client is unavailable
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ public class ImpressionVectorIndex {
|
||||
}
|
||||
|
||||
public void upsert(String text, Entity.IndexableData indexableData){
|
||||
if (VectorClient.status){
|
||||
if (!VectorClient.status){
|
||||
return;
|
||||
}
|
||||
String modelId = VectorClient.VECTOR_MODEL_ID;
|
||||
|
||||
Reference in New Issue
Block a user