摘要: public static void main(String[] args) throws Exception{ HttpSolrClient server = new HttpSolrClient("http://"); SolrInputDocument solrDoc = new SolrInputDocument(); HashMa... 阅读全文
posted @ 2018-07-13 09:29 充实自己 阅读(167) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws Exception{ String s = "::sfas*^&"; s = ClientUtils.escapeQueryChars(s); System.out.println(s); HttpSolrClient serv... 阅读全文
posted @ 2018-07-13 09:27 充实自己 阅读(126) 评论(0) 推荐(0) 编辑