On Fri, Sep 5, 2008 at 11:58 AM, Vincent Massol <[EMAIL PROTECTED]> wrote: >> The second proposal is a temporary hack for hiding documents. The idea >> is to add a new field in the XWikiDocument class, 'hidden', which will >> be automatically used in searchDocuments and countDocuments to filter >> out special documents. This is a workaround until we will be able to >> tag >> special documents or spaces, and will allow to create special >> documents >> needed for an application inside the main application's space, instead >> of the generic XWiki space. Such hidden pages won't appear in normal >> search results, the index page or the navigation panel. > > -0 (close to -1) till you explain what is wrong with the solution > below :) > > This could also be implemented using a special Tag (like: > "xwiki:hidden" for example). > > I was going to say: "In general I think we need the ability to add > generic metadata to a document.". however this already exists: it's > called Objects! :) > So I think instead of adding more and more fixed metadata we might > instead want to use Objects. Either reuse the existing Tag or create a > new Visibility class/objects. > > What are the cons of using Objects for this feature? >
At first sight I'd say that using objects (including current tag feature) would lead to complex queries. -- Jean-Vincent Drean _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs