Right. Thanks guys.
On Tue, Oct 7, 2008 at 6:01 AM, Chris Hostetter <[EMAIL PROTECTED]>wrote: > > : To instantiate the schema and core, you should not *need* any files on > disk -- > : however, many of the plugins expect files like 'stopwords.txt' > 'elevate.xml' > : etc. They use the ResourceLoader, so (in theory) you could hijack that > to > : send stuff from your .jar > > you shouldn't need to hijack anything -- getLines and all of the "open*" > methods in SolrResourceLoader that the plugins use to open "files" are > backed by openResource which will use ClassLoader.getResourceAsStream if > it can't find them in the filesystem -- so if Solr Home is something like > /dev/null there hould be no chance Solr even inadvertantly finding one of > those files on disk -- it can always come from a jar. > > > -Hoss > >