Selaa lähdekoodia

增加新匹配流程 向量匹配视频 优先向量匹配的视频

wangyunpeng 1 viikko sitten
vanhempi
commit
5c018404c5

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/component/ThreadPools.java

@@ -18,5 +18,5 @@ public class ThreadPools {
     public static final ThreadPoolExecutor newUploadCrawlerVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(40);
 
     // 定义一个线程池,设置消费线程的数量
-    public static final ThreadPoolExecutor newVectorMatchVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5);
+    public static final ThreadPoolExecutor newVectorMatchVideoPoolExecutor = (ThreadPoolExecutor) Executors.newFixedThreadPool(50);
 }

+ 3 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/model/dto/RecallVideoScoreParam.java

@@ -27,4 +27,7 @@ public class RecallVideoScoreParam {
 
     /** 相似度下界(粗筛阈值),默认 0.7 */
     private Double simMin;
+
+    /** 指标数据日期维度(天),默认 7 */
+    private Integer days;
 }