<?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 for comments in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256945#M210075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same here. I'm using Alfresco Community v4.0.0 (b 3835) schema 5019. It used to work on 3.4.d.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 15:59:10 GMT</pubDate>
    <dc:creator>julio_melo</dc:creator>
    <dc:date>2012-03-01T15:59:10Z</dc:date>
    <item>
      <title>Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256942#M210072</link>
      <description>I'm using version 4.0 and the documentation implies that the search mechanism includes Comments:http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsearch-examples.htmlHowever, this doesn't seem to be the case.&amp;nbsp; If I add a comment to a document and then search, t</description>
      <pubDate>Tue, 31 Jan 2012 11:47:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256942#M210072</guid>
      <dc:creator>wichmanne</dc:creator>
      <dc:date>2012-01-31T11:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256943#M210073</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;You should find the comment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The comment is not part of the original documentif I recall correctly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have to follow the link back.&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, 31 Jan 2012 12:26:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256943#M210073</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-01-31T12:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256944#M210074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried (and tried again) but I cannot ever get a Comment to return as a result in a search list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why would this not work in my installation?&amp;nbsp; I am using version 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Edward&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 10:29:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256944#M210074</guid>
      <dc:creator>wichmanne</dc:creator>
      <dc:date>2012-02-07T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256945#M210075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same here. I'm using Alfresco Community v4.0.0 (b 3835) schema 5019. It used to work on 3.4.d.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 15:59:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256945#M210075</guid>
      <dc:creator>julio_melo</dc:creator>
      <dc:date>2012-03-01T15:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256946#M210076</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;Are you using SOLR or lucene in 4.0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 10:27:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256946#M210076</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-03-05T10:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256947#M210077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using SOLR and this was a clean install from 4.0.b (I did not upgraded from 3.4.d, but I'm using MySQL instead of Postgres). I tried after to solve this by upgrading it to 4.0.d and then I got the same problem described in other post: &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=8&amp;amp;t=43318" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=8&amp;amp;t=43318&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 11:17:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256947#M210077</guid>
      <dc:creator>julio_melo</dc:creator>
      <dc:date>2012-03-05T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256948#M210078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have searched many hours for an answer to this, but cannot find a definitive answer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just installed a fresh install version of 4.0.d on win32 OS to evaluate Alfresco. We had looked at it earlier with version 3.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem we had and still have, is that the items in a data list (contact list for instance) do not show up in either the regular search or advanced search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this something that simply needs to be configured, or is this simply not possible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2012 02:44:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256948#M210078</guid>
      <dc:creator>callen</dc:creator>
      <dc:date>2012-05-27T02:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256949#M210079</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;Share excludes commments from the search.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Comments are modeled as fm&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;ost - which is extended from content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you go to the node browser - you can find them with TEXT:"&amp;lt;Comment text&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would have to do a "join" with several steps to get back to the document to which the comment applies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 19:01:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256949#M210079</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-06-01T19:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for comments</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256950#M210080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as Andy has pointed out, comments are separate documents / content items and you need to combine results from several layers to achieve a search result as "documents with comment xy".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did a proof-of-concept last year based on Alfresco 3.4 where we performed a really low-level modification of Alfresco search &amp;amp; indexing. Comments would be included in Lucene documents (Solr not yet functionally ready on 4.0 HEAD at the time) and you could do a search query like &lt;/SPAN&gt;&lt;EM&gt;+TYPE:"cm:content" +@cm\:name:"Test*" +COMMENT:"Sample Comment"&lt;/EM&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Such an approach could be possible in 4.0 with Solr as well, but is neither supported nor recommended - you'd have to change / touch major parts of the search subsystem and index server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The simplest way to go is writing / adapting a web script to perform a two-phase query, as Andy indicated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Phase one for fm&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;ost =&amp;gt; collect the lowest level cm:content ancestor nodes from results&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Phase two for OR-ed list of ancestor nodes and any additional query fragment =&amp;gt; display results&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the first phase can be rather expensive - not from the Solr query side, but from navigating to ancestors, as this will usually access all the metadata on the nodes traversed. Depending on the amount of comments matched, you may need a blazingly fast DB or well-sized caches with not-too-short TTL values…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Come to think of it, a more scalable but bit more complex approach could be the following (Note: only works properly, if the same read privileges apply to comments as on their content anchor, and you are only interested in the document irregardless of which specific comment matches):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Define an aspect (e.g. "comment scope cache") with a property of type d:content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Define a rule / policy for new / updated / deleted fm&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;ost nodes that aggregates all the comments text (not just the modified one) into the aspect property, which should be applied to the cm:content anchor node&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Perform a regular search and include the aspect property as a selector for "documents with comment X"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 12:53:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-comments/m-p/256950#M210080</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-06-02T12:53:54Z</dc:date>
    </item>
  </channel>
</rss>

