Hi,
I often see queries like "select something where doc.fullName !=
XWiki.SomeTemplate", which is definitely not nice. I would like to add a new
property to the document class, which indicates if the document is a
template. Also, we should provide an api to select documents containing a
certain type of objects, like:
$xwiki.searchDocumentsWithObjects("XWiki.ArticleClass", [extraquery],
[count, start])
This should behave like the current searchDocuments, but it also writes the
from and where parts of the query that tie the right type of object to the
document, and filters out the template documents.