Jakob, It looks to me like there's not currently a way to disable the default collections it adds. It should be easy enough to change this behavior in RecordLoader, we'd probably need to add another config key or a special value for OUTPUT_COLLECTIONS in order to maintain backwards compatibility.
One possible workaround to consider is to use your own ingestion module configured via CONTENT_FACTORY_CLASSNAME and CONTENT_MODULE_URI. As an added bonus, this approach will give you some flexibility if there's any kind of transformation you need to apply to your content on the way in. --Mark > -----Original Message----- > From: [email protected] [mailto:general- > [email protected]] On Behalf Of Jakob Fix > Sent: Saturday, September 05, 2009 10:24 PM > To: General Mark Logic Developer Discussion > Subject: [MarkLogic Dev General] recordloader's weird default collection? > > Hi, > > am I correct to assume that the RecordLoader does add some kind of > default collection to each document it adds to a database? I have > observed that all files added have a collection name like this > "com.marklogic.ps.RecordLoader.1252184760899". I read through the > RecordLoader's README file, and the OUTPUT_COLLECTIONS' default value > is null. > > Is there a way not to generate this collection? > > the configuration properties in this scenario used are: > > CONNECTION_STRING=xcc://admin:[email protected]:8090 > INPUT_PATH=c:/users/jakob/downloads/ilibrary-ftp.zip > INPUT_STRIP_PREFIX=ilibrary-ftp/ilibrary-ftp/ > OUTPUT_COLLECTIONS=ilibrary > SKIP_EXISTING=true > THREADS=4 > > MarkLogic version is 4.1-1. RecordLoader is version 2009-09-01.1 on > 1.6.0_14 > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
