<?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 Lucene date syntax in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-date-syntax/m-p/164939#M118657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for the correct way to retrieve documents modified between day A and day B. This will be a Lucene search but the syntax is confusing. How should the search be formatted? On the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Range_Queries" rel="nofollow noopener noreferrer"&gt;wiki&lt;/A&gt;&lt;SPAN&gt; it says that the date is ignored (but it needs to be specified or not?) the forum tells a different story where sometimes the date is added, sometimes not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following search works in de node browser but &lt;/SPAN&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;SPAN&gt; returns the same 12 documents, even if you specify "something" instead of a date. What am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@cm\:modified\:"2007-05-01 TO 2007-05-20"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2008 10:46:49 GMT</pubDate>
    <dc:creator>simon</dc:creator>
    <dc:date>2008-05-13T10:46:49Z</dc:date>
    <item>
      <title>Lucene date syntax</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-date-syntax/m-p/164939#M118657</link>
      <description>Alfresco,I'm looking for the correct way to retrieve documents modified between day A and day B. This will be a Lucene search but the syntax is confusing. How should the search be formatted? On the wiki it says that the date is ignored (but it needs to be specified or not?) the forum tells a differe</description>
      <pubDate>Tue, 13 May 2008 10:46:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-date-syntax/m-p/164939#M118657</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-05-13T10:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene date syntax</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-date-syntax/m-p/164940#M118658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For future reference, this seems to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@cm\:modified:[2007-05-01T00:00:00 TO 2007-05-20T00:00:00]&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I don't know but it seems you &lt;/SPAN&gt;&lt;STRONG&gt;need&lt;/STRONG&gt;&lt;SPAN&gt; the time value even if it doesn't work. You &lt;/SPAN&gt;&lt;STRONG&gt;need&lt;/STRONG&gt;&lt;SPAN&gt; the first slash after the cm but you &lt;/SPAN&gt;&lt;STRONG&gt;can not&lt;/STRONG&gt;&lt;SPAN&gt; use a slash after modified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use this query in JavaScript you'll have to add a second slash after cm like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@cm\\:modified:[2007-05-01T00:00:00 TO 2007-05-20T00:00:00]&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 11:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-date-syntax/m-p/164940#M118658</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-05-13T11:04:06Z</dc:date>
    </item>
  </channel>
</rss>

