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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 > > > >
