Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
To Add
Yes these are required as you can not do wild-card search in phrase queries or at the start using the standard query parser
(for example to find all names spaces)
In the default workspace
/documents
+A_PATH_NAME:'[1]documents' +WORKSPACEID:'default'
//documents
+REL_PATH_NAME:'documents' +WORKSPACEID:'default'
//document[jcrfn:like(@title, '%.java')]
Must be done via the API as you can not have the wild card at the start when using the QueryParser.
//author[@name='andy]//documents
Done in two stages (Actually a stage for each attribute predicate with sub path expressions
# +NAME:'author' +WORKSPACEID:'default' +@name:'andy' returns UUIDs
# +NAME:'documents' +WORKSPACEID:'default' +ANCESTORID:('ID1' OR 'ID2')
/a/b/c
+A_PATH_NAME:'[1]a [2]b [3]c' +WORKSPACEID:'default'
/a/b//c
+A_PATH_NAME:'[1]a [2]b' +NAME:'c' +WORKSPACEID:'default'
/a/b//c/*
+A_PATH_NAME:'[1]a [2]b' +REL_PATH_NAME:'c' +WORKSPACEID:'default'
/a/b//c/d/*
+A_PATH_NAME:'[1]a [2]b' +REL_PATH_NAME:'c d' +WORKSPACEID:'default'
/a/b/*//c/d/*
+A_PATH_NAME:'[1]a [2]b' +REL_PATH_NAME:'c d' +WORKSPACEID:'default'
+ post filter on the results
Need to remove /a/b/c/d as too short - could also add LEVEL > 5 (there are still use cases that would require a filter and can not be done using level - absolute path+relative path+ all with wild card elements)
Path filter - probably do anyway
The next proposed index structure and new query element solve this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.