<?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: Lucene search returns out of sync data within transaction in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21791#M10358</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;This behaviour is not expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems a delete against data added/changed in the transaction may not be picked up if it is the last action on the transaction. (In the unit test there is an add after the delete - I have split this out and reproduced the issue). If a pre-existing node is deleted the behaviour is OK, if you add or update a node the count will be correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/jira/browse/AR-549" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/jira/browse/AR-549&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix will go in soon and is added as a comment to the bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2006 09:29:00 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2006-04-07T09:29:00Z</dc:date>
    <item>
      <title>Lucene search returns out of sync data within transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21790#M10357</link>
      <description>We're getting into the nuts and bolts of Alfresco for some work we're doing, and i'm running into a data sync issue with one of the unit tests I've written.We are using Spring's transactional setup, which Alfresco is picking up very nicely, and you all may be aware that Spring has transaction-enable</description>
      <pubDate>Thu, 06 Apr 2006 19:28:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21790#M10357</guid>
      <dc:creator>timster</dc:creator>
      <dc:date>2006-04-06T19:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search returns out of sync data within transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21791#M10358</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;This behaviour is not expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems a delete against data added/changed in the transaction may not be picked up if it is the last action on the transaction. (In the unit test there is an add after the delete - I have split this out and reproduced the issue). If a pre-existing node is deleted the behaviour is OK, if you add or update a node the count will be correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/jira/browse/AR-549" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/jira/browse/AR-549&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix will go in soon and is added as a comment to the bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 09:29:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21791#M10358</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-07T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search returns out of sync data within transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21792#M10359</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;This is fixed in the HEAD code stream.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The committed index will be correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way you can work round this is to update any node after the delete, get the fixed code, or apply the same fix. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 09:41:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-returns-out-of-sync-data-within-transaction/m-p/21792#M10359</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-07T09:41:38Z</dc:date>
    </item>
  </channel>
</rss>

