<?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: Syntax for searching datetime property in Postman in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146445#M38788</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The query syntax you are using seems to be right.&lt;BR /&gt;You confirm this by testing searchability on any node via cm:name:"XXX" and cm:created:['20XX-XX-XX' TO '20YY-YY-YY'].&lt;/P&gt;&lt;P&gt;I assume that there are nodes compatible with the search you are carrying out, so:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Have you tried to check if you still can't find results by widening the query range by date?&lt;/LI&gt;&lt;LI&gt;Do you have other datetime type properties that have the same problem?&lt;/LI&gt;&lt;LI&gt;If you create a node with the same characteristics you are looking for, are indexing errors raised?&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 18 Apr 2024 10:04:00 GMT</pubDate>
    <dc:creator>robinp</dc:creator>
    <dc:date>2024-04-18T10:04:00Z</dc:date>
    <item>
      <title>Syntax for searching datetime property in Postman</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146442#M38785</link>
      <description>&lt;P&gt;I have &lt;SPAN&gt;Alfresco Community v23.1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm using Postman to test my query. This returns 4 results:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query":"=tboacc:USERID_EDW:U92XXX"&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties", "isLink"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;One of the results has this property:&lt;BR /&gt;"tboacc:CLEARED_DATE_XXX": "2022-01-12T00:00:00.000+0000",&lt;/P&gt;&lt;P&gt;In Alfresco Node Browser the value is showing as datetime like this:&lt;BR /&gt;tboacc:CLEARED_DATE_XXX d:datetime 12 Jan 2022 00:00:00 GMT+0000 (UTC)&lt;/P&gt;&lt;P&gt;What is the correct syntax for finding this document using tboacc:CLEARED_DATE_XXX?&lt;/P&gt;&lt;P&gt;This returns 0 results:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query":"=tboacc:CLEARED_DATE_XXX:\"2022-01-12T00:00:00.000+0000\""&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties", "isLink"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;This returns 0 results:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query":"=tboacc:CLEARED_DATE_XXX:\"12 Jan 2022 00:00:00 GMT+0000 (UTC)\""&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties", "isLink"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Also, what is the syntax for searching a date range?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 01:31:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146442#M38785</guid>
      <dc:creator>ptellier</dc:creator>
      <dc:date>2024-04-12T01:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for searching datetime property in Postman</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146443#M38786</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;if using Solr check this&amp;nbsp;&lt;A href="https://docs.alfresco.com/search-services/latest/using/#search-for-ranges" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/using/#search-for-ranges&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I know, in this link there are not clear examples on how to do it with dates, but in this case it works in the same way in the&amp;nbsp;&lt;A href="https://docs.alfresco.com/search-enterprise/latest/using/#search-for-ranges" target="_self" rel="nofollow noopener noreferrer"&gt;search-enterprise&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Use the first link as documentation for every different query syntax problem&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 11:22:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146443#M38786</guid>
      <dc:creator>robinp</dc:creator>
      <dc:date>2024-04-15T11:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for searching datetime property in Postman</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146444#M38787</link>
      <description>&lt;P&gt;Hello, robinp,&lt;/P&gt;&lt;P&gt;I'm following the syntax you suggested but it's still returning 0 results.&amp;nbsp; Here's what I'm trying:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This returns 100 records (53 with "ncisp&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;olicy_Number": "0202020202")&lt;BR /&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query":"=ncisp&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;olicy_Number:'0202020202'",&lt;BR /&gt;"language": "afts"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;This returns 71 records:&lt;BR /&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query":"ncisp:F_EntryDate:['2024-01-12' TO '2024-01-13']",&lt;BR /&gt;"language": "afts"&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties", "isLink"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;But this returns 0 records:&lt;BR /&gt;{&lt;BR /&gt;"query": {&lt;BR /&gt;"query":"=ncisp&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;olicy_Number:'0202020202' AND ncisp:F_EntryDate:['2024-01-12' TO '2024-01-13']",&lt;BR /&gt;"language": "afts"&lt;BR /&gt;},&lt;BR /&gt;"include": ["aspectNames", "properties", "isLink"]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;How do I combine a search for a single term with a date range search?&amp;nbsp;&lt;/P&gt;&lt;P&gt;ncisp:F_EntryDate is Data Type d:datetime and has Indexing:&amp;nbsp; Basic.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 22:14:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146444#M38787</guid>
      <dc:creator>ptellier</dc:creator>
      <dc:date>2024-04-17T22:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for searching datetime property in Postman</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146445#M38788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The query syntax you are using seems to be right.&lt;BR /&gt;You confirm this by testing searchability on any node via cm:name:"XXX" and cm:created:['20XX-XX-XX' TO '20YY-YY-YY'].&lt;/P&gt;&lt;P&gt;I assume that there are nodes compatible with the search you are carrying out, so:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Have you tried to check if you still can't find results by widening the query range by date?&lt;/LI&gt;&lt;LI&gt;Do you have other datetime type properties that have the same problem?&lt;/LI&gt;&lt;LI&gt;If you create a node with the same characteristics you are looking for, are indexing errors raised?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 18 Apr 2024 10:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/syntax-for-searching-datetime-property-in-postman/m-p/146445#M38788</guid>
      <dc:creator>robinp</dc:creator>
      <dc:date>2024-04-18T10:04:00Z</dc:date>
    </item>
  </channel>
</rss>

