<?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: Searching with date/date time criteria in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274250#M227380</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 known issue with opencmis implementation in V4.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-12944" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-12944&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The work around is to use the old cmis impl using the urls as in V3.4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2012 10:00:05 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2012-08-21T10:00:05Z</dc:date>
    <item>
      <title>Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274243#M227373</link>
      <description>Hi,Can any body help me in how to enable search by date criteria using cmis apis in alfresco. I have tried suggestions mentioned in the thread below but none seems to work:https://forums.alfresco.com/en/viewtopic.php?f=45&amp;amp;t=42259https://issues.alfresco.com/jira/browse/ALF-5378Thanks,Pankaj</description>
      <pubDate>Tue, 07 Aug 2012 12:17:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274243#M227373</guid>
      <dc:creator>pankajt</dc:creator>
      <dc:date>2012-08-07T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274244#M227374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please specify the exact problem you are having and provide any error messages or differences in expected results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 16:38:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274244#M227374</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-08-07T16:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274245#M227375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using alfresco's Node Browser to test the results obtained for different cmis based queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The query &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select cmis:name from cmis:document &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; executes successfully and returns me results as well. But when I try to run a query for searching documents by datetime, it returns me 0 records all the time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The query I am executing is as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select cmis:objectId, cmis:name from cmis:document where cmis:lastModificationDate&amp;lt;TIMESTAMP'2010-09-23T16:56:49.925+02:00'&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;I have tried using &amp;lt;, &amp;gt;, &amp;lt;=, &amp;gt;= but none of them is returning me any records.&amp;nbsp; The query is compiling successfully as it does not gives me any error as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In one of the threads, a search configuration was suggested &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-5378" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-5378&lt;/A&gt;&lt;SPAN&gt;. I have tried this as well with no success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Alfresco Community Edition 4.0.d. I have done full re-indexing as well after enabling the dateTimeAnalyzer in the lucene search configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pankaj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 15:24:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274245#M227375</guid>
      <dc:creator>pankajt</dc:creator>
      <dc:date>2012-08-09T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274246#M227376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pankaj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 4.0.d with out-of-the-box dataTypeAnalyzers.properties and Lucene and I cannot reproduce the problem you are seeing. Are you using Lucene or Solr for search?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 18:27:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274246#M227376</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-08-13T18:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274247#M227377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not modified any configuration settings except for the change suggested here &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-5378" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-5378&lt;/A&gt;&lt;SPAN&gt;, in effect I am using default Alfresco settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably a dumb question, how do I configure lucene search to answer my cmis:strict queries&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 06:58:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274247#M227377</guid>
      <dc:creator>pankajt</dc:creator>
      <dc:date>2012-08-14T06:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274248#M227378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, I have recreated this using the alfresco-4.0.d binary installer. When running with Lucene your query will return results. When running with Solr your query returns no results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are other forum posts which talk about changing dataTypeAnalyzers.properties to set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d_dictionary.datatype.d_datetime.analyzer=org.alfresco.repo.search.impl.lucene.analysis.DateTimeAnalyser&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This has no effect on this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to switch back to Lucene, all you have to do is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Edit $TOMCAT_HOME/shared/classes/alfresco-global.properties&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Set index.subsystem.name=lucene&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Set index.recovery.mode=FULL&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Save and restart&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Note that this requires a full Lucene index which may take a lot of time depending on the size of the repo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, set your index.recovery.mode back to AUTO after the server comes up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-15520" rel="nofollow noopener noreferrer"&gt;Jira for this issue&lt;/A&gt;&lt;SPAN&gt; even though it sounds very similar to some of the problems people have been having with CMIS and date range queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 23:29:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274248#M227378</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-08-15T23:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274249#M227379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By default Alfresco comes with solr search which is having the problem. I have made the changes as suggested and the date/datetime search is working fine with lucene search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This information is helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pankaj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 11:55:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274249#M227379</guid>
      <dc:creator>pankajt</dc:creator>
      <dc:date>2012-08-16T11:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with date/date time criteria</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274250#M227380</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 known issue with opencmis implementation in V4.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-12944" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-12944&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The work around is to use the old cmis impl using the urls as in V3.4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2012 10:00:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-date-date-time-criteria/m-p/274250#M227380</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-08-21T10:00:05Z</dc:date>
    </item>
  </channel>
</rss>

