On Jul 10, 2008, at 8:27 AM, sandeep kaur wrote:
Hi,
Solr is working with jetty at port 8983.
I want Solr to send the requets to port 8080.
I have made changes to SimplePostTool.java and changed port 8983 to
8080.
Also made changes in scripts.conf file for port.
still post.jar is looking at port 8983(as i don't know the contents
of jar).
$ java -jar post.jar -help
SimplePostTool: version 1.2
This is a simple command line tool for POSTing raw XML to a Solr
port. XML data can be read from files specified as commandline
args; as raw commandline arg strings; or via STDIN.
Examples:
java -Ddata=files -jar post.jar *.xml
java -Ddata=args -jar post.jar '<delete><id>42</id></delete>'
java -Ddata=stdin -jar post.jar < hd.xml
Other options controlled by System Properties include the Solr
URL to POST to, and whether a commit should be executed. These
are the defaults for all System Properties...
-Ddata=files
-Durl=http://localhost:8983/solr/update
-Dcommit=yes