12 2019 档案
摘要:基于GitHub的一个开源项目:https://github.com/jwyang/faster-rcnn.pytorch 环境:Ubuntu 18.04.3、python2.7,显卡NVIDIA GeForce RTX 2070,pytorch0.4.0,CUDA10.1 update2 (尝试过
阅读全文
摘要:minimum_should_match:当operator参数设置为or时,该参数用来控制应该匹配的分词的最少数量; {"query":{ "match":{ "字段名":{ "query":"查询内容", "operator":"or", "minimum_should_match":"70%"
阅读全文
摘要:PUT /lrtkdb { "mappings": { "properties": { "id": { "type": "keyword" }, "title": { "type": "text", "analyzer": "ik-index", "search_analyzer": "ik-smart" }, "pageimage":
阅读全文
摘要:GET /scddbmain/_search { "query": { "match_phrase": { "title":{ "query": "白色背景中国风酒文化手提袋包装设计", "slop":10 } } } }
阅读全文
摘要:elasticsearch虽然强大,但是却不能动态修改mapping ,到时候我们有时候需要修改结构的时候不得不重新创建索引; elasticsearch为我们提供了一个reindex的命令,就是会将一个索引的快照数据copy到另一个索引,默认情况下存在相同的_id会进行覆盖(一般不会发生,除非是将
阅读全文
摘要:1,打开kibana: GET /scddb/_analyze { "text": "蓝瘦香菇", "analyzer": "ik_max_word" //ik_smart} 测试分词效果如下,不是很理想: { "tokens" : [ { "token" : "蓝", "start_offset"
阅读全文
浙公网安备 33010602011771号