You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Bill Au <bi...@gmail.com> on 2006/03/21 22:06:43 UTC
solr scripts
I have just updated all the scripts in src/scritps to remove hardcoded
configuration and made everything
configurable by command line options. For those who don't like long command
lines, the scripts will
also read an optional environment file containing configuration related
environment variables. Command
line args will override values in the env file.
Right now the scirpts exists only in the src distribution. I think they
should be package up along
with the solr jar and solr webapp war files as well. How about if I udpate
the dist target of the build
file to create a solr-scripts-1.0.zip in the dist directory as well?
Bill
Re: solr scripts
Posted by Yonik Seeley <ys...@gmail.com>.
On 4/11/06, Bill Au <bi...@gmail.com> wrote:
> I think we should include them into the example. There is already a
> example/solr/conf
> and the code is creating the index in solr/data. We should install the
> scripts into example/solr/bin as well.
+1
> For those Solr users that are creating their own Solr app from scratch
> instead of using the example, should we leave it up to them to copy the
> scripts into place (ie solr/bin), or do we
> also create a solr-scripts.zip as part of the distribution?
I'm rather ambivalent about that part.
-Yonik
Re: solr scripts
Posted by Bill Au <bi...@gmail.com>.
Now that all the scripts and their related Wiki are in reasonable shape, I
think we should decide on if and how they should be packaged. Right now
they exist in src/scripts.
I think we should include them into the example. There is already a
example/solr/conf
and the code is creating the index in solr/data. We should install the
scripts into example/solr/bin as well.
For those Solr users that are creating their own Solr app from scratch
instead of using the example, should we leave it up to them to copy the
scripts into place (ie solr/bin), or do we
also create a solr-scripts.zip as part of the distribution?
Bill
On 3/22/06, Bill Au <bi...@gmail.com> wrote:
>
> The scripts are only necessary if one does replication. So I was thinking
> they
> would go their own zip file since they are "optional"/"add-on".
> They cetainly don't belong in the jar. And I don't think they belong in
> the war.
> Do we just leave them in the src zip file and leave it up to the users to
> extract them?
>
> Bill
>
>
> On 3/21/06, Yonik Seeley <ys...@gmail.com> wrote:
> >
> > It feels weird having the scripts in their own .zip file... I'm not
> > sure how to handle that.
> >
> > Even though the example server doesn't use them, they should probably
> > be populated to
> > example/solr/bin
> >
> > -Yonik
> >
> > On 3/21/06, Bill Au <bi...@gmail.com> wrote:
> > > I have just updated all the scripts in src/scritps to remove hardcoded
> > > configuration and made everything
> > > configurable by command line options. For those who don't like long
> > command
> > > lines, the scripts will
> > > also read an optional environment file containing configuration
> > related
> > > environment variables. Command
> > > line args will override values in the env file.
> > >
> > > Right now the scirpts exists only in the src distribution. I think
> > they
> > > should be package up along
> > > with the solr jar and solr webapp war files as well. How about if I
> > udpate
> > > the dist target of the build
> > > file to create a solr-scripts-1.0.zip in the dist directory as well?
> > >
> > > Bill
> > >
> > >
> >
> >
> > --
> > -Yonik
> > http://incubator.apache.org/solr Solr, The Open Source Lucene Search
> > Server
> >
>
>
Re: solr scripts
Posted by Bill Au <bi...@gmail.com>.
The scripts are only necessary if one does replication. So I was thinking
they
would go their own zip file since they are "optional"/"add-on".
They cetainly don't belong in the jar. And I don't think they belong in the
war.
Do we just leave them in the src zip file and leave it up to the users to
extract them?
Bill
On 3/21/06, Yonik Seeley <ys...@gmail.com> wrote:
>
> It feels weird having the scripts in their own .zip file... I'm not
> sure how to handle that.
>
> Even though the example server doesn't use them, they should probably
> be populated to
> example/solr/bin
>
> -Yonik
>
> On 3/21/06, Bill Au <bi...@gmail.com> wrote:
> > I have just updated all the scripts in src/scritps to remove hardcoded
> > configuration and made everything
> > configurable by command line options. For those who don't like long
> command
> > lines, the scripts will
> > also read an optional environment file containing configuration related
> > environment variables. Command
> > line args will override values in the env file.
> >
> > Right now the scirpts exists only in the src distribution. I think they
> > should be package up along
> > with the solr jar and solr webapp war files as well. How about if I
> udpate
> > the dist target of the build
> > file to create a solr-scripts-1.0.zip in the dist directory as well?
> >
> > Bill
> >
> >
>
>
> --
> -Yonik
> http://incubator.apache.org/solr Solr, The Open Source Lucene Search
> Server
>
Re: solr scripts
Posted by Yonik Seeley <ys...@gmail.com>.
It feels weird having the scripts in their own .zip file... I'm not
sure how to handle that.
Even though the example server doesn't use them, they should probably
be populated to
example/solr/bin
-Yonik
On 3/21/06, Bill Au <bi...@gmail.com> wrote:
> I have just updated all the scripts in src/scritps to remove hardcoded
> configuration and made everything
> configurable by command line options. For those who don't like long command
> lines, the scripts will
> also read an optional environment file containing configuration related
> environment variables. Command
> line args will override values in the env file.
>
> Right now the scirpts exists only in the src distribution. I think they
> should be package up along
> with the solr jar and solr webapp war files as well. How about if I udpate
> the dist target of the build
> file to create a solr-scripts-1.0.zip in the dist directory as well?
>
> Bill
>
>
--
-Yonik
http://incubator.apache.org/solr Solr, The Open Source Lucene Search Server