Hi,
You kind of mentioned all the possible places to look in the hierarchy.
From a practical point of view I think the most used
use cases would be:
- search in the children: looking for the most relevant document
from my
hierarchy structure or just find something in my hierarchy;
- look outside the hierarchy structure, cousins :) in order maybe to find
related documents to my subject hierarchy, than I might need to move inside
my hierarchy.
The above use case works for documentation wikis.
For groupware, where we have applications, let's take the example of Forum
or Blog. With nested spaces we could create such a structure:
Forum > Forum1 > Topic1* ...
Forum > Forum2 > Topic2* ...
Forum > ForumCode
We might have a need to:
- not search inside ForumCode - this can be done with hidden documents
- search in all forum entries (children of Forum);
- search per one Forum (children of ForumX)
Hope it helps,
Caty
On Fri, Jun 12, 2015 at 12:37 PM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
Hi devs,
As we started to work on addind support for nested spaces, we need to
think about search use cases that we expect the Solr search to cover
regarding nested spaces.
Currently, with one level of space, we support:
UC1: Search for documents in space X (exact match)
UC2: Search for documents in a space like X (free text search)
With nested spaces we need to take into account several new use cases:
UC1: Search for documents that are direct children of the path X.Y.Z
(exact match for path) -> matches X.Y.Z.Page but not X.Y.Page and
neither X.Y.Z.A.Page
UC2: Search for documents that are descendents of the path X.Y.Z
(exact match for path) -> matches X.Y.Z.Page and X.Y.Z.A.Page but not
X.Y.Page
UC3: Search for documents that have space X as parent anywhere in the
hierarchy (exact match for space) -> matches A.X.Page and X.Page but
not A.X.Y.Page
UC4: Search for documents that have space X as ancestor anywhere in
the hierarchy (exact match for space) -> matches X.Page and A.X.Y.Page
but not Y.Z.Page
UC5: Search for documents that have the path like X.Y.Z (free text
search) -> matches X.Page, Z.Y.Page, Y.Z.X.Page
UC6: Search for documents that have the parent space like X (free text
search)
Do you see any other use cases? Is any of the use cases I listed not
useful, and can be discarded?
Thanks,
Marius
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs