2009/12/17 Reinier van den Born <[email protected]>:
> (sent this before but it didn't show up in the forum?)
>
> Hi all,
>
> After some investigation I found that the CMS Search
> view (tab) displays another date (DAV:modificationdate) than the
> Documents view (Hippo:lastSaved if present, DAV:getlastmodified
> otherwise). lastSaved is only set when a document is saved from the editor.
>
> Normally this is no problem because these dates are
> usually in sync, but things go wrong when an update on the content is
> run. Then both DAV: properties are updated, but lastSaved is not
> affected. As a result things seem normal in the Documents view (at
> least for documents that have been edited at least once), but in the
> Search view all content shows the same timestamp (the day of the last
> update). Searching on modification time becomes effectively useless.
>
> I thought up/tried a couple of solutions, but haven't found anything really
> satisfactory.
> Did anyone run into this before and has a suggestion?
>
> Tnx,
>
>
> Reinier van den Born

Hello Reinier,

the lastSaved property was introduced to indicate when a document has
been saved through the workflow. Sometimes it's necessary to "touch"
all documents to trigger (new) extractors but the content itself has
not been changed. That's why we use the lastSaved date in the
documents perspective.
I think we overlooked this in the search perspective. You can modify
the search configuration so it does display the lastSaved property.
The default configuration is in src/site/search/config and you can put
the whole search configuration in the repository. Copy the
defaultconfig.xml to /configuration/search/config.xml and modify the
paths of the files you want to customise.


Jasha Joachimsthal

[email protected] - [email protected]

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA
94952 +1 (707) 7734646
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to