<?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: Date Sorting via Lucene in Web Script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195655#M148785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it is the same version of Alfresco. If you look at help ticket 6041, you will see where this is (you may have even helped look into it). We don't know what the problem is but have basically gone done the approach pulling all the children nodes in the webscript, retrieving the custom date parameter and sorting them ourselves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, the Lucene query would work properly in the authoring environment but in the Runtime environment it would "flip" the first and last entry (if not some more) actually giving us the oldest one first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven't solved this but it has gotten old enough that we've coded away from using Lucene.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 20:27:43 GMT</pubDate>
    <dc:creator>howejr77</dc:creator>
    <dc:date>2009-05-14T20:27:43Z</dc:date>
    <item>
      <title>Date Sorting via Lucene in Web Script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195653#M148783</link>
      <description>We have a Java backed web script which is running a lucene query and attempting to sort against a date property which is populated via metadata extraction in WCM. We are encountering an issue where the web script works perfectly in our Authoring environment but when we deploy the content to the Runt</description>
      <pubDate>Fri, 07 Nov 2008 18:24:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195653#M148783</guid>
      <dc:creator>howejr77</dc:creator>
      <dc:date>2008-11-07T18:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sorting via Lucene in Web Script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195654#M148784</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;Are your two environments running the same version of Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have they got the same config?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What date are you sorting on - and are you sure it is not being set to one value as part of the deploy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the meta data correct after deployment?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 19:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195654#M148784</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2009-05-14T19:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date Sorting via Lucene in Web Script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195655#M148785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it is the same version of Alfresco. If you look at help ticket 6041, you will see where this is (you may have even helped look into it). We don't know what the problem is but have basically gone done the approach pulling all the children nodes in the webscript, retrieving the custom date parameter and sorting them ourselves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, the Lucene query would work properly in the authoring environment but in the Runtime environment it would "flip" the first and last entry (if not some more) actually giving us the oldest one first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven't solved this but it has gotten old enough that we've coded away from using Lucene.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 20:27:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/date-sorting-via-lucene-in-web-script/m-p/195655#M148785</guid>
      <dc:creator>howejr77</dc:creator>
      <dc:date>2009-05-14T20:27:43Z</dc:date>
    </item>
  </channel>
</rss>

