<?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 working on Node Browser but not from scheduled task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283748#M236878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I'm not sure, but apparently it's not working. There's too much info in the debug logs, is there any way to get only the output of this job to better troubleshoot this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure the info I see relates to my job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2013 05:32:20 GMT</pubDate>
    <dc:creator>cyruspy</dc:creator>
    <dc:date>2013-03-01T05:32:20Z</dc:date>
    <item>
      <title>Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283744#M236874</link>
      <description>Hi!, I'm trying to run a search from a scheduled. Execution of the following query works from Node Browser:+PATH:"/app:company_home/st:sites/*/cm:calendar//*" AND +@ia\:fromDate:[NOW TO MAX]‍‍‍This is part of the scheduled task definition:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="queryLanguage"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;</description>
      <pubDate>Wed, 27 Feb 2013 07:54:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283744#M236874</guid>
      <dc:creator>cyruspy</dc:creator>
      <dc:date>2013-02-27T07:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283745#M236875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What happens if you use this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;+PATH:"/app:company_home/st:sites//*/cm:calendar//*" +@ia\:fromDate:\$\{luceneDateRange(yesterday, "-P10Y")\}&amp;lt;/value&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 09:13:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283745#M236875</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-02-27T09:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283746#M236876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be working:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;06:40:00,147 DEBUG [httpclient.wire.content] &amp;gt;&amp;gt; "{"textAttributes":[],"allAttributes":[],"templates":[],"authorities":["GROUP_EVERYONE","ROLE_AUTHENTICATED","root"],"tenants":[""],"query":"+PATH:\"/app:company_home/st:sites//*/cm:calendar//*\" +@ia\\:fromDate:\\$\\{luceneDateRange(yesterday, \"-P10Y\")\\}","locales":["en_US"],"defaultNamespace":"&lt;A href="http://www.alfresco.org/model/content/1.0%22,%22defaultFTSFieldOperator%22:%22OR%22,%22defaultFTSOperator%22:%22OR" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0','defaultFTSFieldOperator':'OR','defaultFTSOperator':'OR&lt;/A&gt;"}"&lt;BR /&gt;06:40:00,148 DEBUG [java.sql.ResultSet] &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp; Columns: id, commit_time_ms, acl_count&lt;BR /&gt;06:40:00,148 DEBUG [org.mybatis.spring.SqlSessionUtils] Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@71dddd81]&lt;BR /&gt;06:40:00,148 DEBUG [java.sql.ResultSet] &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row: 262, 1361955760382, 0&lt;BR /&gt;06:40:00,148 DEBUG [java.sql.ResultSet] &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row: 263, 1361956566137, 0&lt;BR /&gt;06:40:00,148 DEBUG [java.sql.ResultSet] &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row: 264, 1361956935440, 0&lt;BR /&gt;06:40:00,148 DEBUG [java.sql.ResultSet] &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Row: 265, 1361957947932, 2&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although I only saw one execution with results (job schedule every one minute for testing), maybe it was a coincidense (too much data un debug mode).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;06:41:00,006 DEBUG [httpclient.wire.content] &amp;gt;&amp;gt; "{"textAttributes":[],"allAttributes":[],"templates":[],"authorities":["GROUP_EVERYONE","ROLE_AUTHENTICATED","root"],"tenants":[""],"query":"+PATH:\"/app:company_home/st:sites//*/cm:calendar//*\" +@ia\\:fromDate:\\$\\{luceneDateRange(yesterday, \"-P10Y\")\\}","locales":["en_US"],"defaultNamespace":"&lt;A href="http://www.alfresco.org/model/content/1.0%22,%22defaultFTSFieldOperator%22:%22OR%22,%22defaultFTSOperator%22:%22OR" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0','defaultFTSFieldOperator':'OR','defaultFTSOperator':'OR&lt;/A&gt;"}"&lt;BR /&gt;06:41:00,006 DEBUG [org.apache.commons.httpclient.methods.EntityEnclosingMethod] Request body sent&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "HTTP/1.1 200 OK[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "HTTP/1.1 200 OK[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "Server: Apache-Coyote/1.1[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "Content-Type: text/plain;charset=UTF-8[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "Content-Length: 103[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "Date: Wed, 27 Feb 2013 09:41:00 GMT[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.header] &amp;lt;&amp;lt; "[\r][\n]"&lt;BR /&gt;06:41:00,019 DEBUG [httpclient.wire.content] &amp;lt;&amp;lt; "{"responseHeader":{"status":0,"QTime":11},"response":{"numFound":0,"start":0,"maxScore":0.0,"docs":[]}}"&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm trying to implement calendar event reminders as shown here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/es/node/31092" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/es/node/31092&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain me what could be wrong with the original query and why your suggestion seems to work only once?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 10:14:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283746#M236876</guid>
      <dc:creator>cyruspy</dc:creator>
      <dc:date>2013-02-27T10:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283747#M236877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In original query you have not used this $\{luceneDateRange( &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;also you should not use "AND" and +&amp;nbsp; operator both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not get your next problem also. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 07:28:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283747#M236877</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-02-28T07:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283748#M236878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I'm not sure, but apparently it's not working. There's too much info in the debug logs, is there any way to get only the output of this job to better troubleshoot this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure the info I see relates to my job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 05:32:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283748#M236878</guid>
      <dc:creator>cyruspy</dc:creator>
      <dc:date>2013-03-01T05:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283749#M236879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can increase the time interval.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or there is one more way to do it create script file and put all your logic inside that and call that script in the schedules job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 07:16:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283749#M236879</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-03-01T07:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283750#M236880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sorry for the delay, I'm cannot find a way to enable debugging for just this script execution. By putting all the logic there you mean not using scheduled-action-services-context.xml ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 19:16:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283750#M236880</guid>
      <dc:creator>cyruspy</dc:creator>
      <dc:date>2013-03-16T19:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search working on Node Browser but not from scheduled task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283751#M236881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I get now:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2013-03-16 17:42:00,167&amp;nbsp; DEBUG [httpclient.wire.content] [DefaultScheduler_Worker-4] &amp;gt;&amp;gt; "{"textAttributes":[],"allAttributes":[],"templates":[],"authorities":["GROUP_EVERYONE","ROLE_AUTHENTICATED","root"],"tenants":[""],"query":"+PATH:\"/app:company_home/st:sites//*/cm:calendar//*\" +@ia\\:fromDate:\\$\\{luceneDateRange(yesterday, \"-P10Y\")\\}","locales":["es_ES"],"defaultNamespace":"&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0%22,%22defaultFTSFieldOperator%22:%22OR%22,%22defaultFTSOperator%22:%22OR" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0','defaultFTSFieldOperator':'OR','defaultFTSOperator':'OR&lt;/A&gt;&lt;SPAN&gt;"}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2013-03-16 17:42:01,655&amp;nbsp; DEBUG [httpclient.wire.content] [DefaultScheduler_Worker-4] &amp;lt;&amp;lt; "{"responseHeader":{"status":0,"QTime":1367},"response":{"numFound":0,"start":0,"maxScore":0.0,"docs":[]}}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I understand, there are no results (events where inserted in the calendar)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 21:20:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-search-working-on-node-browser-but-not-from-scheduled/m-p/283751#M236881</guid>
      <dc:creator>cyruspy</dc:creator>
      <dc:date>2013-03-16T21:20:46Z</dc:date>
    </item>
  </channel>
</rss>

