Hi, Just a add on:
./Solr_Lucene/apache-solr-1.2.0/example/exampledocs I am executing java -jar post.jar *.xml from above path. Do i need to copy it into some folder in Tomcat directory? Thanks, Sandip Kaur --- On Thu, 10/7/08, sandeep kaur <[EMAIL PROTECTED]> wrote: > From: sandeep kaur <[EMAIL PROTECTED]> > Subject: Re: changing port 8983 to 8080 for Tomcat in solr > To: [email protected], [EMAIL PROTECTED] > Date: Thursday, 10 July, 2008, 6:43 PM > Hi, > > I have got -Durl=" + DEFAULT_POST_URL in the > SimplePostTool.java > > where the value of DEFAULT_POST_URL, as i had changed it to > 8080 > > public static final String DEFAULT_POST_URL = > "http://localhost:8080/solr/update"public static > final String DEFAULT_POST_URL = > "http://localhost:8080/solr/update" > > So now what should be my next steps for these changes to > become effective. > > I have compiled this java file also. But how the changes > will get reflected in the post.jar file? > > Please suggest. > > Thanks, > Sandip Kaur > > --- On Thu, 10/7/08, Erik Hatcher > <[EMAIL PROTECTED]> wrote: > > > From: Erik Hatcher <[EMAIL PROTECTED]> > > Subject: Re: changing port 8983 to 8080 for Tomcat in > solr > > To: [email protected] > > Date: Thursday, 10 July, 2008, 6:18 PM > > 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 > > > Bollywood, fun, friendship, sports and more. You name > it, we have it on > http://in.promos.yahoo.com/groups/bestofyahoo/ Best Jokes, Best Friends, Best Food and more. Go to http://in.promos.yahoo.com/groups/bestofyahoo/
