<?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 [SOLVED] Default installation not indexing? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255389#M208519</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;SPAN&gt;&amp;nbsp; I have pure svn build with empty database and repository. I have simple modification to data model - my own datatype (mispub:webcontent) with boolean property mispub:toProcess. When I change that property programatically like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;nodeService.setProperty(publishItem.getNodeRef(), PublishModel.pubToProcess, false);&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;following lucene query finds nothing!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;+PATH:"/app:company_home/st:sites//*" +TYPE:"mispub:webContent" + @mispub\:toProcess:false&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;When I change false value to true in my search query, that content is found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT now the weird part: in node browser is correct value, also in alfresco explorer, when document info is viewed. And when I change that property in explorer, everything works correctly!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is: isn't there any bug in nodeService, which omits some indexing notifier after setProperty? Or where can be a problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 12:00:53 GMT</pubDate>
    <dc:creator>shmoula</dc:creator>
    <dc:date>2012-06-14T12:00:53Z</dc:date>
    <item>
      <title>[SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255389#M208519</link>
      <description>Hi,&amp;nbsp; I have pure svn build with empty database and repository. I have simple modification to data model - my own datatype (mispub:webcontent) with boolean property mispub:toProcess. When I change that property programatically like thisnodeService.setProperty(publishItem.getNodeRef(), PublishModel.pu</description>
      <pubDate>Thu, 14 Jun 2012 12:00:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255389#M208519</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2012-06-14T12:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255390#M208520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There won't be a bug in the node service.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However the node browser and your own queries can often have slightly different rules about escaping characters.&amp;nbsp;&amp;nbsp; That's the "known difference".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 13:01:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255390#M208520</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-06-14T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255391#M208521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reply mrogers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem is node browser AND my queries works exactly the same way - the bad one. When I set that boolean property to false (or removeProperty) programaticaly, searchService and node browser simply does not reflect that change (but in explorer details screen and doc_info is this setting printed correctly). And in other way - when I edit that property in explorer, everything work well (both searchService and node browser display correct results).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 13:12:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255391#M208521</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2012-06-14T13:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255392#M208522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did some investigation and tried following things:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;In EditContentPropertiesDialog are properties set all together with nodeService.setProperties(), so I tried the same, no success&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Instead of false I tried to put Boolean.FALSE as that property, but without success&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;In EditContentPropertiesDialog is document.reset() called in doPostCommitProcessing, but I may have no FacesContext (because my routines are in webscript / init()), so without success&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 13:38:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255392#M208522</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2012-06-14T13:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255393#M208523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since this seems to be specific to share i suspect it may be due to the wrong values being persisted.&amp;nbsp;&amp;nbsp; null rather than false.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you can find your way around the database you could double check whether share is setting the Boolean value to false or doing something else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like there may be a bug, so please raise it in JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since your queries are working for true I think your indexing is fine.&amp;nbsp;&amp;nbsp;&amp;nbsp; And as I said above the problem will not be with the node service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 18:49:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255393#M208523</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-06-14T18:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255394#M208524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mean Alfresco Share? I thing it has nothing to done with that, I do that in "backing beans" and webscripts, those values are set directly in Java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Queries are working for values set in alfresco explorer, when changed by nodeService.setProperty(), it works for previous set value, not just true and not just false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I raised an issue for this: &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-14621" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-14621&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 08:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255394#M208524</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2012-06-15T08:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255395#M208525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are going to have to add more details and clarify that JIRA.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 08:57:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255395#M208525</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-06-15T08:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255396#M208526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Provided testcase (which works correctly) and sourcecode, which can reproduce that behaviour, while following provided steps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 12:30:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255396#M208526</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2012-06-15T12:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Default installation not indexing?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255397#M208527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ticket is closed, problem is solved - by extending AbstractLifecycleBean. Problem was that I was using node service in spring's init(), which did that inconsistency problems (still seems like a bug for me, see behaviour in comment in that ticket). If anyone is interested in working solution, I put symplified working code within eclipse project to my &lt;/SPAN&gt;&lt;A href="http://dl.dropbox.com/u/729838/ALF-14621.tar.gz" rel="nofollow noopener noreferrer"&gt;dropbox for download&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 08:16:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-default-installation-not-indexing/m-p/255397#M208527</guid>
      <dc:creator>shmoula</dc:creator>
      <dc:date>2012-06-21T08:16:52Z</dc:date>
    </item>
  </channel>
</rss>

