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 Yonik Seeley <yo...@lucidimagination.com> on 2009/07/04 17:54:49 UTC
cleaning up example
One concrete step to both clean up "example" and lower the size of our
downloads is
- move example/clustering to contrib/example
- move clustering/lib to clustering/solr/lib
- download jars directly to clustering/solr/lib instead of
clustering/lib/downloads
- run the clustering example from example with
-Dsolr.solr.home=../contrib/clustering/solr
This will avoid a copy of all the clustering libs to a different
directory, and remove an entry from the "example" directory... which
was originally meant to contain a single server.
-Yonik
http://www.lucidimagination.com
Re: cleaning up example
Posted by Grant Ingersoll <gs...@apache.org>.
On Jul 13, 2009, at 5:39 PM, Yonik Seeley wrote:
> On Mon, Jul 13, 2009 at 5:23 PM, Grant
> Ingersoll<gs...@apache.org> wrote:
>>
>> On Jul 4, 2009, at 11:54 AM, Yonik Seeley wrote:
>>
>>> One concrete step to both clean up "example" and lower the size of
>>> our
>>> downloads is
>>> - move example/clustering to contrib/example
>>> - move clustering/lib to clustering/solr/lib
>>> - download jars directly to clustering/solr/lib instead of
>>> clustering/lib/downloads
>>
>> Remember that packaging/release also uses these directories. The
>> release
>> mechanism now explicitly excludes the downloads directory.
>> Collapsing these
>> will require you to explicitly exclude individual libraries.
>
> Yet another reason it would be nice to allow subdirectories (or
> multiple lib directories)... that way we could keep the "download"
> dir.
That's fine, but eventually we will have reinvented the wheel that is
OSGi, AIUI.
Re: cleaning up example
Posted by Yonik Seeley <ys...@gmail.com>.
On Mon, Jul 13, 2009 at 5:23 PM, Grant Ingersoll<gs...@apache.org> wrote:
>
> On Jul 4, 2009, at 11:54 AM, Yonik Seeley wrote:
>
>> One concrete step to both clean up "example" and lower the size of our
>> downloads is
>> - move example/clustering to contrib/example
>> - move clustering/lib to clustering/solr/lib
>> - download jars directly to clustering/solr/lib instead of
>> clustering/lib/downloads
>
> Remember that packaging/release also uses these directories. The release
> mechanism now explicitly excludes the downloads directory. Collapsing these
> will require you to explicitly exclude individual libraries.
Yet another reason it would be nice to allow subdirectories (or
multiple lib directories)... that way we could keep the "download"
dir.
-Yonik
http://www.lucidimagination.com
Re: cleaning up example
Posted by Grant Ingersoll <gs...@apache.org>.
On Jul 4, 2009, at 11:54 AM, Yonik Seeley wrote:
> One concrete step to both clean up "example" and lower the size of our
> downloads is
> - move example/clustering to contrib/example
> - move clustering/lib to clustering/solr/lib
> - download jars directly to clustering/solr/lib instead of
> clustering/lib/downloads
Remember that packaging/release also uses these directories. The
release mechanism now explicitly excludes the downloads directory.
Collapsing these will require you to explicitly exclude individual
libraries.
> - run the clustering example from example with
> -Dsolr.solr.home=../contrib/clustering/solr
>
> This will avoid a copy of all the clustering libs to a different
> directory, and remove an entry from the "example" directory... which
> was originally meant to contain a single server.
>
> -Yonik
> http://www.lucidimagination.com