会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
likecs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2020年10月2日
anacada 安装pytorch新手操作方法
摘要: 配置清华源,加速下载相关包速度 清华镜像配置说明: https://mirror.tuna.tsinghua.edu.cn/help/anaconda/ 各系统都可以通过修改用户目录下的 .condarc文件 channels: - defaults show_channel_urls: true
阅读全文
posted @ 2020-10-02 16:45 likecs
阅读(498)
评论(0)
推荐(0)
2020年10月1日
elasticsearch 颜色搜索
摘要: 第一步:创建颜色搜索结构 { "color" : { "type": "nested", "properties" : { "h" : { "type" : "integer" }, "s" : { "type" : "integer" }, "v" : { "type" : "integer" }
阅读全文
posted @ 2020-10-01 23:38 likecs
阅读(540)
评论(0)
推荐(0)
elasticsearch 数据类型大全
摘要: Elasticsearch 数据类型全景概览
阅读全文
posted @ 2020-10-01 22:49 likecs
阅读(2433)
评论(0)
推荐(0)
2020年3月19日
centos添加定时任务,定时清理网站日志
摘要: 使用 crontab -e 添加如下命令:* * */5 * * find /home/wwwlogs -name '*.log' -exec rm -rf {}\;* * */5 * * find /home/wwwlogs -name '*_log' -exec rm -rf {}\;重新加载任
阅读全文
posted @ 2020-03-19 09:39 likecs
阅读(426)
评论(0)
推荐(0)
2019年12月24日
安装pytorch版本的faster rcnn实现物体识别
摘要: 基于GitHub的一个开源项目:https://github.com/jwyang/faster-rcnn.pytorch 环境:Ubuntu 18.04.3、python2.7,显卡NVIDIA GeForce RTX 2070,pytorch0.4.0,CUDA10.1 update2 (尝试过
阅读全文
posted @ 2019-12-24 15:47 likecs
阅读(1743)
评论(0)
推荐(0)
2019年12月22日
elasticsearch match 的 minimum_should_match做匹配度过滤——elasticsearch
摘要: minimum_should_match:当operator参数设置为or时,该参数用来控制应该匹配的分词的最少数量; {"query":{ "match":{ "字段名":{ "query":"查询内容", "operator":"or", "minimum_should_match":"70%"
阅读全文
posted @ 2019-12-22 20:07 likecs
阅读(4397)
评论(0)
推荐(0)
2019年12月18日
创建一个索引
摘要: PUT /lrtkdb { "mappings": { "properties": { "id": { "type": "keyword" }, "title": { "type": "text", "analyzer": "ik-index", "search_analyzer": "ik-smart" }, "pageimage":
阅读全文
posted @ 2019-12-18 17:00 likecs
阅读(184)
评论(0)
推荐(0)
2019年12月5日
elasticsearch 搜索优化
摘要: GET /scddbmain/_search { "query": { "match_phrase": { "title":{ "query": "白色背景中国风酒文化手提袋包装设计", "slop":10 } } } }
阅读全文
posted @ 2019-12-05 10:36 likecs
阅读(455)
评论(0)
推荐(0)
2019年12月4日
elasticsearch 的 reindex 将一个索引的数据复制到另一个已存在的索引,但是并不会复制原索引的mapping(映射)、shard(分片)、replicas(副本)等配置信息。
摘要: elasticsearch虽然强大,但是却不能动态修改mapping ,到时候我们有时候需要修改结构的时候不得不重新创建索引; elasticsearch为我们提供了一个reindex的命令,就是会将一个索引的快照数据copy到另一个索引,默认情况下存在相同的_id会进行覆盖(一般不会发生,除非是将
阅读全文
posted @ 2019-12-04 18:27 likecs
阅读(3086)
评论(0)
推荐(0)
elasticsearch 进行分词测试
摘要: 1,打开kibana: GET /scddb/_analyze { "text": "蓝瘦香菇", "analyzer": "ik_max_word" //ik_smart} 测试分词效果如下,不是很理想: { "tokens" : [ { "token" : "蓝", "start_offset"
阅读全文
posted @ 2019-12-04 15:42 likecs
阅读(3208)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告