mshd.net
当前位置:首页 >> solr upDAtE ExtrACt >>

solr upDAtE ExtrACt

java代码 public static void main(String[] args) { try { //Solr cell can also index MS file (2003 version and 2007 version) types. String fileName = "c:/Sample.pdf"; //this will be unique Id used by Solr to index the file conten...

将所有字段转成UTF-8,如下 �0�2 updateRequest = new ContentStreamUpdateRequest("/update/extract"); updateRequest.addFile(file); updateRequest.setParam("literal.id", "".concat(doc.getId()).concat("-").concat(file.get...

public static void main(String[] args) { try { //Solr cell can also index MS file (2003 version and 2007 version) types. String fileName = "c:/Sample.pdf"; //this will be unique Id used by Solr to index the file contents. Strin...

网站首页 | 网站地图
All rights reserved Powered by www.mshd.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com