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 [email protected] http://lists.xwiki.org/mailman/listinfo/devs

