<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Lucene query from Java backed webscript question in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-from-java-backed-webscript-question/m-p/219269#M172399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am building a webscript that takes a nodeRef of a space as parameter and should return a sorted list of the most recent contentitems contained in that space AND als its subspaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to do all this except build the path parameter in the lucene query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody know how I can get the QName Path from a NodeRef object? The NodeService class has a getPath(NodeRef) method but this returns another format (containing namespace urls…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that from the Javascript api every nodeRef has a qnamePath property. This is exactly what I need but in Java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2009 12:22:33 GMT</pubDate>
    <dc:creator>tonc</dc:creator>
    <dc:date>2009-10-19T12:22:33Z</dc:date>
    <item>
      <title>Lucene query from Java backed webscript question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-from-java-backed-webscript-question/m-p/219269#M172399</link>
      <description>Hi all,I am building a webscript that takes a nodeRef of a space as parameter and should return a sorted list of the most recent contentitems contained in that space AND als its subspaces.I have been able to do all this except build the path parameter in the lucene query.Does anybody know how I can</description>
      <pubDate>Mon, 19 Oct 2009 12:22:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-query-from-java-backed-webscript-question/m-p/219269#M172399</guid>
      <dc:creator>tonc</dc:creator>
      <dc:date>2009-10-19T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene query from Java backed webscript question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-query-from-java-backed-webscript-question/m-p/219270#M172400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Never mind the question, I found the solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nodeService.getPath(nodeRef).toPrefixString(namespaceService);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 13:39:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-query-from-java-backed-webscript-question/m-p/219270#M172400</guid>
      <dc:creator>tonc</dc:creator>
      <dc:date>2009-10-19T13:39:54Z</dc:date>
    </item>
  </channel>
</rss>

