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