03 2023 档案

摘要:评分计算 bool 查询会为每个文档计算相关度评分 _score ,再将所有匹配的 must 和 should 语句的分数 _score 求和,最后除以 must 和 should 语句的总数。 must_not 语句不会影响评分;它的作用只是将不相关的文档排除。 https://www.elast 阅读全文
posted @ 2023-03-31 18:39 parkdifferent 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Elasticsearch搜索中文分词优化https://www.jianshu.com/p/914f102bc174 总是搜不到想要的内容?Elasticsearch搜索排名优化了解一下https://cloud.tencent.com/developer/article/1667546 浅谈有赞 阅读全文
posted @ 2023-03-31 10:40 parkdifferent 阅读(774) 评论(0) 推荐(0) 编辑
摘要:项目中同时使用了,spring-boot-redisson 与 spring-data-redis 。 导致通过 stringRedisTemplate读取key时为 null。 解决,参考: https://pushyzheng.com/snippets/spring-boot-redisson- 阅读全文
posted @ 2023-03-30 11:26 parkdifferent 阅读(2053) 评论(0) 推荐(0) 编辑
摘要:Elasticsearch Indexing Strategy in Asset Management Platform (AMP) https://netflixtechblog.com/data-reprocessing-pipeline-in-asset-management-platform 阅读全文
posted @ 2023-03-29 13:57 parkdifferent 阅读(41) 评论(0) 推荐(0) 编辑
摘要:1.写一个异步线程,同步数据from a -> b2.比对数据的差异性select b.* from A a right join B b on a.xx_id = b.xx_id and b.is_deleted = 0 where a.xx_id is null and b.xx_id is n 阅读全文
posted @ 2023-03-23 17:05 parkdifferent 阅读(33) 评论(0) 推荐(0) 编辑
摘要:https://cloud.tencent.com/developer/article/1122840 随机评分 https://www.elastic.co/guide/cn/elasticsearch/guide/current/random-scoring.html https://www.p 阅读全文
posted @ 2023-03-20 11:25 parkdifferent 阅读(79) 评论(0) 推荐(0) 编辑
摘要:问题: 使用 org.elasticsearch.client.RestHighLevelClient#bulk,BulkRequest添加的是IndexRequest,发现无法更新索引。 原因: IndexRequest设定添加文档, UpdateRequest设定更新文档, 设定upsert执行 阅读全文
posted @ 2023-03-18 15:54 parkdifferent 阅读(758) 评论(0) 推荐(0) 编辑
摘要:Running Conductor Using Dockerhttps://conductor.netflix.com/devguide/running/docker.html How to use gradle zip in local system without downloading whe 阅读全文
posted @ 2023-03-05 23:59 parkdifferent 阅读(10) 评论(0) 推荐(0) 编辑
摘要:@Valid被标记的实体将会开启一个校验的功能@RequestBody:请求实体需要加上@RequestBody否则MethodArgumentNotValidException异常将会被识别成Exception异常,提示信息将与预期不符。 https://blog.csdn.net/chenyao 阅读全文
posted @ 2023-03-04 11:36 parkdifferent 阅读(23) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示