<?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 Re: Freemarker Lucene Search node context in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43109#M23417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes there is an API called 'qnamePath ' to get the encoded path for a node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide#Extended_TemplateNode_Model_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide#Extended_TemplateNode_Model_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2007 13:59:12 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-01-16T13:59:12Z</dc:date>
    <item>
      <title>Freemarker Lucene Search node context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43106#M23414</link>
      <description>Hello,I'm building a template that lists all nodes of type cm:content in a space (and its subspaces).&amp;nbsp; The template looks like this&amp;lt;#assign query = "TYPE:\"{http://www.alfresco.org/model/content/1.0}content\"" /&amp;gt;&amp;lt;#assign rowcount=0&amp;gt;&amp;lt;table&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;tr style='background-color: #C6D8EB'</description>
      <pubDate>Fri, 12 Jan 2007 10:26:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43106#M23414</guid>
      <dc:creator>rhofkens</dc:creator>
      <dc:date>2007-01-12T10:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker Lucene Search node context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43107#M23415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The method 'childrenByLuceneQuery' is badly named - it executes the full lucene query that you enter, it does not automatically constrain the results to the parent space that you execute against. The parent space is simply a hook point from which to call the method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To search within a specific space using lucene you should constrain by encoded PATH, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;PATH:"/app:company_home/cm:myfolder//*" AND TEXT:alfresco&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 14:12:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43107#M23415</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-01-15T14:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker Lucene Search node context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43108#M23416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ok, I understand.&amp;nbsp; Is there an easy way to find the path of a node in FTL?&amp;nbsp; I've noticed that the name of a node does not necessarily map to the name used in the path, especially in a multilingual environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Examples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(EN) Company Home –&amp;gt; path: company_home&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(DE) Stammbereich des Unternehmens –&amp;gt; path: company_home&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roeland&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 13:02:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43108#M23416</guid>
      <dc:creator>rhofkens</dc:creator>
      <dc:date>2007-01-16T13:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker Lucene Search node context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43109#M23417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes there is an API called 'qnamePath ' to get the encoded path for a node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide#Extended_TemplateNode_Model_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide#Extended_TemplateNode_Model_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 13:59:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43109#M23417</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-01-16T13:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker Lucene Search node context</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43110#M23418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A more performant search would be to use the PARENT term in the Lucene search:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;+PARENT:"&amp;lt;your noderef here&amp;gt;" +TEXT:alfresco&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2007 17:45:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-lucene-search-node-context/m-p/43110#M23418</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-01-25T17:45:00Z</dc:date>
    </item>
  </channel>
</rss>

