Lucene Query Not Working with Fully Quallified Path
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2012 09:21 AM
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…
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…
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2012 10:13 AM
Hello,
Try using
Try using
nodeService.getPath(nodeRef).qnamePath
in your lucene query.