You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@manifoldcf.apache.org by Swapna Vuppala <sw...@gmail.com> on 2011/10/11 11:24:54 UTC

org.apache.manifoldcf.agents.DefineOutputConnection

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.

Re: org.apache.manifoldcf.agents.DefineOutputConnection

Posted by Swapna Vuppala <sw...@gmail.com>.
Thanks Karl, This works for me..

Thanks and Regards,
Swapna.

On Tue, Oct 11, 2011 at 3:38 PM, Karl Wright <da...@gmail.com> 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
> <sw...@gmail.com> 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.
> >
>

Re: org.apache.manifoldcf.agents.DefineOutputConnection

Posted by Karl Wright <da...@gmail.com>.
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
<sw...@gmail.com> 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.
>