I am executing a lucene search to look for documents with a particular category. My category hierarchy is like this: Root category: - Company Documents - GAW
After referring to the search API Alfresco documentation, I tried the following queries:
+PATH:\"//cm:GAW//*"
+PATH:\"/cm:generalclassifiable//cm:GAW//*"
+PATH:\"/cm:generalclassifiable//cm:GAW/member"
+PATH:\"/cm:generalclassifiable//cm:GAW//member"
But the document is not found. I am running a JavaScript for the search. These documents are located in sub-folders with deep folder levels but have category as "GAW". Can anyone help me in pointing to the right syntax?
What would be the syntax to search by folders. It is located within a sub-folder GAW inside document library of a site.
Thanks!
:character is a special character in the lucene query syntax - omu_negru