Re: Make ant example faster

2009-04-28 Thread Chris Hostetter
: Wouldn't one solution to this bundling and aggregating/separating of examples : and plugins be made a lot less painful if SolrResourceLoader could load from a : list of directories rather than only a single directory? What are the I'm not understanding how that would help the example

Re: Make ant example faster

2009-04-28 Thread Chris Hostetter
: assuming we have more use-case specific examples, wouldn't that just be : something that copies one of them to a target directory? : : I guess what I really want is a way to be able to say: Give me a Solr home : that has these X features (DIH, Solr Cell, spell checking, highlighting, plus :

Re: Make ant example faster

2009-04-22 Thread Erik Hatcher
Wouldn't one solution to this bundling and aggregating/separating of examples and plugins be made a lot less painful if SolrResourceLoader could load from a list of directories rather than only a single directory? What are the negatives to adding that support? Let's keep solr.war lean

Re: Make ant example faster

2009-04-22 Thread Grant Ingersoll
On Apr 20, 2009, at 5:45 PM, Chris Hostetter wrote: : Fair enough. FWIW, I'd still like to be able to generate a Solr container : from an example (i.e. minimal or DIH or whatever) by container do you mean a Solr home with configs and neccessary libs ready to be tweaked to suite your

Re: Make ant example faster

2009-04-22 Thread Grant Ingersoll
Even better, is probably something like OSGI where we can make sure that we have some level of isolation between the class loaders so that we can have different versions of different JARs w/o breaking the application. Since it is clear that Solr is entering into a contrib phase, it is

Re: Make ant example faster

2009-04-22 Thread Erik Hatcher
I was aiming simple... like some simple tweaks to SolrResourceLoader, at least a way to allow plugins to all live separately and wired into a single Solr instance without copying files and such. What would it take to wire in OSGI (I know nothing about it)? Erik On Apr 22, 2009, at

Re: Make ant example faster

2009-04-22 Thread Ryan McKinley
On Apr 22, 2009, at 12:20 PM, Erik Hatcher wrote: I was aiming simple... like some simple tweaks to SolrResourceLoader, at least a way to allow plugins to all live separately and wired into a single Solr instance without copying files and such. What would it take to wire in OSGI (I know

Re: Make ant example faster

2009-04-20 Thread Grant Ingersoll
On Apr 16, 2009, at 7:37 PM, Chris Hostetter wrote: : It is similar, indeed, but I think it results in there only ever being one : active Solr example and the user need not worry about setting solr home. Hmmm... this seems like a bad idea. we want to make sure that *users* who have

Re: Make ant example faster

2009-04-20 Thread Chris Hostetter
: Fair enough. FWIW, I'd still like to be able to generate a Solr container : from an example (i.e. minimal or DIH or whatever) by container do you mean a Solr home with configs and neccessary libs ready to be tweaked to suite your purposes? assuming we have more use-case specific examples,

Re: Make ant example faster

2009-04-16 Thread Chris Hostetter
: It is similar, indeed, but I think it results in there only ever being one : active Solr example and the user need not worry about setting solr home. Hmmm... this seems like a bad idea. we want to make sure that *users* who have downloaded Solr can run all of the examples without needing ant

Re: Make ant example faster

2009-04-14 Thread Shalin Shekhar Mangar
On Tue, Apr 14, 2009 at 4:25 AM, Grant Ingersoll gsing...@apache.orgwrote: On Apr 13, 2009, at 3:44 PM, Shalin Shekhar Mangar wrote: Isn't this the same as the current setup with the name of the directory changed and different ant targets to set them up? The new ant target will setup the

Make ant example faster

2009-04-13 Thread Shalin Shekhar Mangar
Hello, As part of SOLR-934, I'd like to setup an example for indexing mail boxes with the existing example/example-DIH demo. I see that ant example has a dependency on example-contrib. Do we want to do that? I vaguely remember Yonik complaining about the time ant example takes. For setting up

Re: Make ant example faster

2009-04-13 Thread Shalin Shekhar Mangar
On Tue, Apr 14, 2009 at 12:33 AM, Grant Ingersoll gsing...@apache.orgwrote: Instead of a kitchen-sink example directory, we revert it back to being the tutorial example. It still can get built by ant example, but ultimately we deprecate it (more later). Then, as a replacement, we create a

Re: Make ant example faster

2009-04-13 Thread Grant Ingersoll
Funny you should mention it, b/c I had an idea the other day of how to speed all this up, plus will satisfy one of my other annoyances with the example and make it easier for people to get started (I think). So, here goes: Instead of a kitchen-sink example directory, we revert it back to

Re: Make ant example faster

2009-04-13 Thread Grant Ingersoll
On Apr 13, 2009, at 3:44 PM, Shalin Shekhar Mangar wrote: On Tue, Apr 14, 2009 at 12:33 AM, Grant Ingersoll gsing...@apache.orgwrote: Instead of a kitchen-sink example directory, we revert it back to being the tutorial example. It still can get built by ant example, but ultimately