Thanks Karl, This works for me.. Thanks and Regards, Swapna.
On Tue, Oct 11, 2011 at 3:38 PM, Karl Wright <[email protected]> wrote: > Have a look at the usage message for this command: > > System.err.println("Usage: > DefineOutputConnection <connection_name> <description> > <connector_class> <pool_max> <param1>=<value1> ..."); > > In order to find the name of the parameter that represents the solr > port, create a connection in the UI and look at the parameters on the > "view" page for it. > > Karl > > On Tue, Oct 11, 2011 at 5:24 AM, Swapna Vuppala > <[email protected]> wrote: > > Hi, > > > > Am using the command below to create a Solr output connection > > > > executecommand.bat org.apache.manifoldcf.agents.DefineOutputConnection > "o/p > > conn using script" "Solr connection" > > org.apache.manifoldcf.agents.output.solr.SolrConnector 10 > > > > This is working fine, but the connection is being created to use the port > > 8983 (which is default, I guess). Can I pass some argument to create the > > connection using port 8080 (Am running Solr on Tomcat on port 8080 on my > > machine) > > > > If so, please let me know how and where do I specify this parameter > > programmatically ? > > > > Thanks and Regards, > > Swapna. > > >
