欢迎投稿

今日深度:

solr 使用,

solr 使用,


solr 中文博客

http://blog.chenlb.com


数据导入  

java -jar post.jar *.xml
  java -Ddata=args -jar post.jar '<delete><id>42</id></delete>'
  java -Ddata=stdin -jar post.jar < hd.xml
  java -Durl=http://localhost:8983/solr/update/csv -Dtype=text/csv -jar post.jar


 *.csv
  java -Durl=http://localhost:8983/solr/update/json -Dtype=application/json -jar
 post.jar *.json
  java -Durl=http://localhost:8983/solr/update/extract?literal.id=a -Dtype=appli
cation/pdf -jar post.jar a.pdf
Other options controlled by System Properties include the Solr
URL to POST to, the Content-Type of the data, whether a commit
or optimize should be executed, and whether the response should
be written to STDOUT. These are the defaults for all System Properties:
  -Ddata=files
  -Dtype=application/xml
  -Durl=http://localhost:8983/solr/update
  -Dcommit=yes
  -Doptimize=no
  -Dout=no

www.htsjk.Com true http://www.htsjk.com/solr/36336.html NewsArticle solr 使用, solr 中文博客 http://blog.chenlb.com 数据导入   java -jar post.jar *.xml   java -Ddata=args -jar post.jar 'deleteid42/id/delete'   java -Ddata=stdin -jar post.jar hd.xml   java -Durl=http://localhost:8983/solr/upd...
相关文章
    暂无相关文章
评论暂时关闭