<?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 Sorted search in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sorted-search/m-p/193531#M146661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to have my results sorted by date. But I'm using Alfresco Enterprise 2.1 and the instruction &lt;/SPAN&gt;&lt;EM&gt;search.luceneSearch(string query, string sortColumn, boolean asc) &lt;/EM&gt;&lt;SPAN&gt; doesn't work. It's really important to have my results ordered by date, is there any other way to get them sorted?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2009 13:35:42 GMT</pubDate>
    <dc:creator>lbm</dc:creator>
    <dc:date>2009-02-09T13:35:42Z</dc:date>
    <item>
      <title>Sorted search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorted-search/m-p/193531#M146661</link>
      <description>Hi,I'd like to have my results sorted by date. But I'm using Alfresco Enterprise 2.1 and the instruction search.luceneSearch(string query, string sortColumn, boolean asc)  doesn't work. It's really important to have my results ordered by date, is there any other way to get them sorted?Thank you.</description>
      <pubDate>Mon, 09 Feb 2009 13:35:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorted-search/m-p/193531#M146661</guid>
      <dc:creator>lbm</dc:creator>
      <dc:date>2009-02-09T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorted-search/m-p/193532#M146662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use this method on a Freemarker template too:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;companyhome.childrenByLuceneSearch[query]?sort_by(["properties","cm:created"])?reverse&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;SPAN&gt;Every time you would like to use a property of the content model, you must specify the property and the content model tag with his own prefix &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 15:47:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorted-search/m-p/193532#M146662</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2009-02-09T15:47:35Z</dc:date>
    </item>
  </channel>
</rss>

