You can pass the full url to post.jar as an argument.
example -
java -Durl=http://localhost:8080/solr/update -jar post.jar
Regards,
Jayendra
On Wed, Nov 9, 2011 at 2:37 AM, 刘浪 liu.l...@eisoo.com wrote:
Hi,
I want to use post.jar to delete index.But my port is 8080. It is 8983
default.
Thank you very much
Amos
--
-原始邮件-
发件人: Jayendra Patil jayendra.patil@gmail.com
发送时间: 2011年11月9日 星期三
收件人: solr-user@lucene.apache.org
抄送:
主题: Re: How to change the port of post.jar
You can pass the full url to post.jar as an argument.
example -
java -Durl=http
that will depend on your servlet container. (jetty, resin, tomcat,
etc...)
If you are running jetty from the example, you can change the port by
adding -Djetty.port=1234 to the command line. The port is configured
in example/etc/jetty.xml
the relevant line is:
Set
Hello Ryan,
Thats exactly what I was looking for. Thanks!
RM that will depend on your servlet container. (jetty, resin, tomcat,
RM etc...)
RM If you are running jetty from the example, you can change the port by
RM adding -Djetty.port=1234 to the command line. The port is configured
RM