<?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 AFTS Query doesn't work after adding Node? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43477#M17892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a method called "listData()" in which I query data from Alfresco with an AFTS query. When calling the method without anything has changed, the query workes fine. But when I add a Node like here:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/24256_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;and then call "listData()", the query doesn't give back the current created Node. That's a thing I do not understand because when I get the response from "createNode()" the Node should be successfully added to Database!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/24260_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any Idea how to solve this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Nov 2018 10:57:42 GMT</pubDate>
    <dc:creator>jriedl17</dc:creator>
    <dc:date>2018-11-24T10:57:42Z</dc:date>
    <item>
      <title>AFTS Query doesn't work after adding Node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43477#M17892</link>
      <description>Hey Guys,I have a method called "listData()" in which I query data from Alfresco with an AFTS query. When calling the method without anything has changed, the query workes fine. But when I add a Node like here:and then call "listData()", the query doesn't give back the current created Node. That's a</description>
      <pubDate>Sat, 24 Nov 2018 10:57:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43477#M17892</guid>
      <dc:creator>jriedl17</dc:creator>
      <dc:date>2018-11-24T10:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: AFTS Query doesn't work after adding Node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43478#M17893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the query is using SOLR for searching and your are running the query just after the insertion. As SOLR is asynchronously indexing the content, the result is not available at this point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably this session by &lt;B&gt;Axel Faust&lt;/B&gt; can help you to understand the whole thing:&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=D_C_x8i14H8" title="https://www.youtube.com/watch?v=D_C_x8i14H8" rel="nofollow noopener noreferrer"&gt;[BeeCon 2017] - Axel Faust - Making proper use of transactional metadata queries - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2018 08:55:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43478#M17893</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-11-25T08:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: AFTS Query doesn't work after adding Node?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43479#M17894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that if you were to use CMIS for this type of query (date range, though without any fancy date math expressions) than Alfresco would be able to execute the query against the DB and you should have a consistent result immediately. Unfortunately Alfresco "forgot" to handle the necessary query rewrite logic for AFTS to support (a limited sub-set of) range queries against the DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/afts-query-doesn-t-work-after-adding-node/m-p/43479#M17894</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-11-26T11:34:13Z</dc:date>
    </item>
  </channel>
</rss>

