Thanks Geert, that answers one of my questions (default of last-modified). I would think that switching on the feature will not automatically add the properties (especially the last-modified) as there is no means to know when a document was modified.
cheers, Jakob. cheers, Jakob. On Thu, Feb 14, 2013 at 9:33 PM, Geert Josten <[email protected]> wrote: > Hi Jacob, > > > > As others suggest below, it is the maintain last modified setting of the > Database as found in the Admin interface. There is also a maintain > directory last modified setting. The first is enabled by default, as is > automatic directory creation. But that creates quite some extra database > fragments, so I guess it was disabled at your end to save some space.. > > > > Not quite sure that enabling will automatically trigger creation of these > properties. You might need to ‘touch’ or all documents, or redo loading.. > > > > Kind regards, > > Geert > > > > *Van:* [email protected] [mailto: > [email protected]] *Namens *Sujith > *Verzonden:* donderdag 14 februari 2013 21:24 > *Aan:* MarkLogic Developer Discussion > *Onderwerp:* Re: [MarkLogic Dev General] document properties > > > > *maintain last modified to true. * > > On Thu, Feb 14, 2013 at 3:19 PM, Jakob Fix <[email protected]> wrote: > > Hi, > > > > I had the impression that the properties document of any document in the > database was managed by MarkLogic. I was hoping in particular that the > modification date would be available by default and updated automatically. > > > > However, I find that none of the documents inserted using classic > xdmp:document-insert have a properties document, i.e. > xdmp:document-properties returns an empty sequence, and in the query > console the properties column shows (no properties). > > > > Also modifying a document doesn't automagically create it. Is there an > option that needs to be switched on to get properties? > > > > cheers, > > Jakob. > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > > > > > > -- > Thanks & Regards > SujithMaram > [email protected] > (469) 995-5907 > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
