Tags on version can be stored separately with the version number and the
document being the key.
On Saturday 06 January 2007 19:08, Ludovic Dubost wrote:
Storing in a separate table one line per version is
only possible for
the document part but not for the objects.
I'm not in favor of considering the version table as 'data' but more as
a cache. The versioned file being the reference.
Ludovic
Sergiu Dumitriu a écrit :
> Ludovic, this is a 'must have' for a wiki engine.
>
> Another solution would be to store the archive not as one large field
> in the document table, but in a separate table, each version on a row.
>
> On 1/6/07, *Ludovic Dubost* <ludovic(a)xwiki.com
> <mailto:ludovic@xwiki.com>> wrote:
>
>
> There is one thing that hinders setting information about version
> (tag,
> comments, or other things) is that querying them is quite expensive
> right now since the Archive needs to be fully parsed and each
> Document version extracted from that archive.
> I had the thought a long time ago that we need to replicate some
> information about the different version in a table in the
> database. This
> would be recreated when needed:
>
> We would store in there:
>
> - author of the update
> - date of the update
> - comment
> - tag
> - any other relevant stuff
>
> This would allow to improve performance of version display since the
> archive would not have to be parsed again and would also allow to
> query
> to find out the most active users and all changes made by a user.
> This would be a nice feature for 1.1
>
> Ludovic
>
> Lijour, Marc (EDU) a écrit :
> > Excellent!
> > Thank you. I guess we are on the same stream of idea may be
>
> influenced
>
> > by the audit trail thread posted earlier.
> > I'll take a close look this week-end.
> >
> > -----Original Message-----
> > *From:* Sergiu Dumitriu [mailto: sergiu.dumitriu(a)gmail.com
>
> <mailto:sergiu.dumitriu@gmail.com>]
>
> > *Sent:* January 5, 2007 3:30 PM
> > *To:* xwiki-users(a)objectweb.org
>
> <mailto:xwiki-users@objectweb.org>; Lijour, Marc (EDU)
>
> > *Subject:* Re: [xwiki-users] Version tagging
> >
> > Hi Mark,
> >
> > What a coincidence, I just had the same idea today, when
>
> trying to
>
> > find the right version in the history, and I just created a
> > JIRA issue for this (see
>
>
http://jira.xwiki.org/jira/browse/XWIKI-687 ).
>
> > So:
> > - No, currently there is no such feature, but it will be
>
> sometime
>
> > in the future.
> > - It's not that hard to implement, and you don't have to worry
> > a bit: the XWiki database schema is very often changed, but it is
> > automatically updated by the hibernate module.
> >
> > On 1/5/07, *Lijour, Marc (EDU)* <Marc.Lijour(a)ontario.ca
>
> <mailto:Marc.Lijour@ontario.ca>
>
> > <mailto:Marc.Lijour@ontario.ca
>
> <mailto:Marc.Lijour@ontario.ca>>> wrote:
> > Is there a way to add a comment or some sort of tag to a
> > version (each time we save a document) - as an option?
> >
> > If not it would be nice to have. The history view could
> > display the comment/tag (if any) on another column to
>
> the right.
>
> > I guess it should not be to hard to implement (the issue I
> > would be worry of is about data migration). WDYT?
> >
> > Marc Lijour
> >
> >
> >
> > --
> > You receive this message as a subscriber of the
> > xwiki-users(a)objectweb.org
>
> <mailto:xwiki-users@objectweb.org>
> <mailto:xwiki-users@objectweb.org
<mailto:xwiki-users@objectweb.org>>
>
> > mailing list.
> > To unsubscribe: mailto:
>
> xwiki-users-unsubscribe(a)objectweb.org
> <mailto:xwiki-users-unsubscribe@objectweb.org>
>
> > <mailto:xwiki-users-unsubscribe@objectweb.org
>
> <mailto:xwiki-users-unsubscribe@objectweb.org>>
>
> > For general help: mailto: sympa(a)objectweb.org
>
> <mailto:sympa@objectweb.org>
>
> > <mailto:sympa@objectweb.org
>
> <mailto:sympa@objectweb.org>>?subject=help
>
> > ObjectWeb mailing lists service home page:
> >
http://www.objectweb.org/wws <http://www.objectweb.org/wws>
>
>
> ------------------------------------------------------------------------
>
> > --
> > You receive this message as a subscriber of the
>
> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
> mailing list.
>
> > To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
>
> <mailto:xwiki-users-unsubscribe@objectweb.org>
>
> > For general help: mailto:sympa@objectweb.org
>
> <mailto:sympa@objectweb.org>?subject=help
>
> > ObjectWeb mailing lists service home page:
>
>
http://www.objectweb.org/wws
>
>
>
> --
> Ludovic Dubost
> Blog:
http://www.ludovic.org/blog/
> XWiki:
http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> AIM: nvludo Yahoo: ludovic
>
>
>
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
> mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> <mailto:xwiki-users-unsubscribe@objectweb.org>
> For general help: mailto:sympa@objectweb.org
> <mailto:sympa@objectweb.org>?subject=help
> ObjectWeb mailing lists service home page:
>
http://www.objectweb.org/wws
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list. To unsubscribe:
> mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws