• howto:solr post.jar使用


      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

     



  • 相关阅读:
    简单批处理语法结构
    简单批处理常用命令
    简单批处理符号简介
    简单批处理内部命令
    jQuery操作DOM
    jQuery中的事件与动画
    jQuery选择器
    初始面向对象
    初识jQuery
    操作DOM
  • 原文地址:https://www.cnblogs.com/HelloCoding/p/2327471.html
Copyright © 2020-2023  润新知