It's useful for xdmp:directory-delete(), which deletes all the documents in the directory in one fell swoop (assuming it doesn't time out first).
I also find it useful for doing ad hoc queries with xdmp:directory(), but you probably have other fields you can query on that may be equivalent. If you are removing unneeded stuff, you might also check whether you have "maintain time last modified" turned on. It can be useful, but if you don't need it I think you can save the need to create a properties document for every document if you turn that off and also turn off directory creation. You may have noticed that you have twice as many fragments as documents - that's why, I think. There might also be some savings from disabling "inherit collections" and "inherit permissions" if you never use those things. I'm less sure about that though. -Mike On 07/05/2012 03:14 PM, Alex Milowski wrote: > Ah! Yes I do. That number of directories looks suspiciously close to > the number of stations I have stored in my database. That would > probably account for it. > > I'll never use WebDAV on this database give the large number of small > documents, so I can turn that off. Is there any other reason why I > would want that on? > > On Thu, Jul 5, 2012 at 11:49 AM, Will Thompson > <[email protected]> wrote: > >> Do you have directory creation set to automatic in your database settings? >> >> -Will >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Alex Milowski >> Sent: Thursday, July 05, 2012 11:48 AM >> To: MarkLogic Developer Discussion >> Subject: Re: [MarkLogic Dev General] Listing Directories? >> >> On Thu, Jul 5, 2012 at 11:37 AM, Danny >> Sokolsky<[email protected]> wrote: >> >>> You don't need the URI lexicon for the xdmp:estimate one. >>> >> OK. Good to know. >> >> What I really want to know is the name and purpose of these directories >> since I don't actually create them explicitly. >> >> -- >> --Alex Milowski >> "The excellence of grammar as a guide is proportional to the paucity of the >> inflexions, i.e. to the degree of analysis effected by the language >> considered." >> >> Bertrand Russell in a footnote of Principles of Mathematics >> _______________________________________________ >> General mailing list >> [email protected] >> http://developer.marklogic.com/mailman/listinfo/general >> _______________________________________________ >> General mailing list >> [email protected] >> http://developer.marklogic.com/mailman/listinfo/general >> > > > _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
