- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 docker swarm api tasks filters usage
May be this is the first REAL demo for swarm api tasks filters usageTarget: list running tasks belong to specific serviceURL to query:http://your-api-server/tasks?filters={"service":{"mobile_plugin_pu...
2018-04-11 23:19:23 229
原创 JavaMail IMAP 连接某易邮箱失败问题
新注册的163邮箱,使用pop3协议可以绑定到平台,使用imap协议时则无法绑定到平台,提示使用某易邮箱大师。分析:pop3协议不支持邮件服务器识别客户端身份,因此可以绑定;但imap可以帮助邮件服务器识别客户端身份,当客户端不携带身份信息时,被标记为非安全客户端,接着就被安利了安全的邮箱大师(╯‵□′)╯︵┻━┻解决方法:使用IMAP协
2017-03-12 17:44:19 2463 1
原创 [Solr6.2.1 self learning 4] Chinese analyzer
For English, it’s quite straightforward that whiespace can be used to break sentences to words, but for Chinese it’s a little more complex since different breaks can change the meaning totally… Thanks
2016-11-27 15:46:12 634
原创 [Solr6.2.1 self learning 3] Analyzer/tokenizer/filter
As Solr’s design, sentences needs to be break down(tokenized) to words for index & query. Solr introduce tokenizer and filter to accomplish this target. The work flow in solr can be simplied as follows
2016-11-27 15:22:11 281
原创 [Solr6.2.1 self learning 2] SolrJ 6.2.1 integration
It seems that ever since solr6, the solrj api package has been changed to org.apache.solr.client.solrj that is *solrserver* is gone ….from ref guide, demo code goes like this @Test
2016-11-23 23:38:29 554
原创 [Solr6.2.1 self learning 1]solr 6.2.1 dataimport configuration for MySQL
Talk is cheap, show me the processA. modify solrconfig.xml to include data import requestHanlder data-config.xml B. create data import config
2016-11-20 11:50:32 544
转载 螺旋队列
螺旋队列 /* 螺旋队列 设1的坐标是(0,0),的方向向右为正,y方向向下为正,例如,7的坐标为(-1,-1),2的坐标为(0,1)。 编程实现输入任意一点坐标(x,y),输出所对应的数字。 43 44 45 46 47 48 49 42 21 22 23 24 25 26 41 20 7 8 9 10 27 40 19 6 1
2010-04-19 16:48:00 391
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人