<?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: Solr4 and ACLs  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solr4-and-acls/m-p/285561#M238691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When re-indexing an acl solr4 pulls a json document from alfresco that includes a list of the nodes parent paths. In our case each of our groups could be members of over 1000 sites and therefore the group node had that many parents which were re-indexed every time a group was added or deleted from a site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix was to stop solr indexing parent paths by adding the following two lines of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nmdp.setIncludePaths(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nmdp.setIncludeParentAssociations(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;src5.0.c\projects\solr4\source\java\org\alfresco\solr\SolrInformationServer.java at line1691.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Link to updated source: &lt;/SPAN&gt;&lt;A href="https://drive.google.com/file/d/0B4zqRLvm-_xIT2Zna1lYZFZraUk/view?usp=sharing" rel="nofollow noopener noreferrer"&gt;https://drive.google.com/file/d/0B4zqRLvm-_xIT2Zna1lYZFZraUk/view?usp=sharing&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Link to patched jar: &lt;/SPAN&gt;&lt;A href="https://drive.google.com/file/d/0B4zqRLvm-_xIdTd0VHpOek11NUk/view?usp=sharing" rel="nofollow noopener noreferrer"&gt;https://drive.google.com/file/d/0B4zqRLvm-_xIdTd0VHpOek11NUk/view?usp=sharing&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Sep 2015 10:01:15 GMT</pubDate>
    <dc:creator>butterman</dc:creator>
    <dc:date>2015-09-07T10:01:15Z</dc:date>
    <item>
      <title>Solr4 and ACLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr4-and-acls/m-p/285560#M238690</link>
      <description>We have an alfresco community 5.0.c environment. Previously used 3.4.d and upgraded through several versions. We created a new solr4 index from scratch after the final upgrade. We currently have about 1500 sites and 200 users assigned to 15 groups. We assign groups to sites as their involvement with</description>
      <pubDate>Tue, 16 Jun 2015 15:09:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr4-and-acls/m-p/285560#M238690</guid>
      <dc:creator>butterman</dc:creator>
      <dc:date>2015-06-16T15:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Solr4 and ACLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr4-and-acls/m-p/285561#M238691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When re-indexing an acl solr4 pulls a json document from alfresco that includes a list of the nodes parent paths. In our case each of our groups could be members of over 1000 sites and therefore the group node had that many parents which were re-indexed every time a group was added or deleted from a site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix was to stop solr indexing parent paths by adding the following two lines of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nmdp.setIncludePaths(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nmdp.setIncludeParentAssociations(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;src5.0.c\projects\solr4\source\java\org\alfresco\solr\SolrInformationServer.java at line1691.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Link to updated source: &lt;/SPAN&gt;&lt;A href="https://drive.google.com/file/d/0B4zqRLvm-_xIT2Zna1lYZFZraUk/view?usp=sharing" rel="nofollow noopener noreferrer"&gt;https://drive.google.com/file/d/0B4zqRLvm-_xIT2Zna1lYZFZraUk/view?usp=sharing&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Link to patched jar: &lt;/SPAN&gt;&lt;A href="https://drive.google.com/file/d/0B4zqRLvm-_xIdTd0VHpOek11NUk/view?usp=sharing" rel="nofollow noopener noreferrer"&gt;https://drive.google.com/file/d/0B4zqRLvm-_xIdTd0VHpOek11NUk/view?usp=sharing&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 10:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr4-and-acls/m-p/285561#M238691</guid>
      <dc:creator>butterman</dc:creator>
      <dc:date>2015-09-07T10:01:15Z</dc:date>
    </item>
  </channel>
</rss>

