11 2017 档案

摘要:select * from gyzd_yysinfo order by cast(yysid as SIGNED INTEGER) 或者 select * from gyzd_yysinfo order by cast(yysid as UNSIGNED INTEGER) 阅读全文
posted @ 2017-11-30 17:10 Nullnullisnull 阅读(30515) 评论(0) 推荐(0)
摘要:head插件 切换到Elasticsearch的安装目录 执行安装命令 打开http://10.10.10.201:9200/_plugin/head/ 安装成功 插件安装参考: Elasticsearch Plugins and Integrations:https://www.elastic.c 阅读全文
posted @ 2017-11-16 16:20 Nullnullisnull 阅读(274) 评论(0) 推荐(0)
摘要:如果以root身份运行将会出现以下问题 root@yxjay:/opt/elasticsearch-2.3.5/bin# ./elasticsearchException in thread "main" java.lang.RuntimeException: don't run elasticse 阅读全文
posted @ 2017-11-15 13:58 Nullnullisnull 阅读(1668) 评论(0) 推荐(0)
摘要:想要解决这个问题,没有特别方便的方法,只有循环数组,将数组中的key和value字符串转码,转换为utf-8,即可解决问题。 代码示例: 阅读全文
posted @ 2017-11-02 14:54 Nullnullisnull 阅读(953) 评论(0) 推荐(0)