AnsweredAssumed Answered

Lucene Query PATH Question

Question asked by mtw999 on Feb 15, 2013
Latest reply on Feb 18, 2013 by mtw999
I'm trying to query type from NodeBrowser query utility:

PATH:"/app:company_home/st:sites/cm:alftrain/cm:documentLibrary/cm:TestFolder01" TYPE:"{http://www.ziaconsulting.com/model/knowledgebase/1.0}article"

returns results

PATH:"/app:company_home/st:sites/cm:alftrain/cm:documentLibrary/cm:TestFolder01" TYPE:"{http://www.alfresco.org/model/content/1.0}content"

returns results

PATH:"/{http://www.alfresco.org/model/application/1.0}company_home/st:sites/cm:alftrain/cm:documentLibrary/cm:TestFolder01" TYPE:"{http://www.alfresco.org/model/content/1.0}content"

fails with:
Failed to parse query: PATH:"/{http://www.alfresco.org/model/application/1.0}company_home/st:sites/cm:alftrain/cm:documentLibrary/cm:TestFolder01" TYPE:"{http://www.alfresco.org/model/content/1.0}content"

why is the URI in the PATH not being resolved to app:company_home while TYPE is? Is this an XPATH issue?

Mike

Outcomes