cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Query Not Working with Fully Quallified Path

jigirshah
Confirmed Champ
Confirmed Champ
Hi,
      In one of my project, I have used nodeService.getPath(nodeRef), It will return result like PATH:"/{http://www.alfresco.org/model/application/1.0}company_home".

Now, I am firing a lucene query for this path. But, whenever I am trying this, I can not get proper result.. :cry:

But Now,
If I use namespace instead of URI in above query then it is working and I can get proper result.
PATH:"/app:company_home".

Anyone knows solution for this? :?:

Thanks in advance and quick help will really appriciated… Smiley Happy
1 REPLY 1

scouil
Star Contributor
Star Contributor
Hello,

Try using
nodeService.getPath(nodeRef).qnamePath‍
in your lucene query.
Welcome to the new Hyland Connect. Get started or submit feedback.