<?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: Alfresco 5.0.2: configuring an external Solr instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282090#M235220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Steven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your insights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this context it indeed makes more sence to setup another solr instance for other purposes. I don't want to start messing with the SSL part of this setup. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It was nice as a POC but indeed it won't be practical wrt performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2016 21:09:47 GMT</pubDate>
    <dc:creator>progdevtom</dc:creator>
    <dc:date>2016-05-26T21:09:47Z</dc:date>
    <item>
      <title>Alfresco 5.0.2: configuring an external Solr instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282087#M235217</link>
      <description>Hi,I'm working on moving an Alfresco 5.0.2 install to use an external Solr. I have copied the ALFRESCO_HOME/solr4 directory and created a C:/alfresco_solr. I'm running Solr-4.9.1 on Tomcat 7 and Java 8. Going off of this document: http://docs.alfresco.com/5.0/tasks/solr4-install-config.html, I disco</description>
      <pubDate>Tue, 26 Jan 2016 23:04:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282087#M235217</guid>
      <dc:creator>mikeblum</dc:creator>
      <dc:date>2016-01-26T23:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 5.0.2: configuring an external Solr instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282088#M235218</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;did you solve this issue? I'm trying the same thing, using a central solr instance to also service alfresco. But I get the same error message. I'm a bit surprised there is so little information to find on this subject? Is there a reason why it shouldn't be done?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 12:40:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282088#M235218</guid>
      <dc:creator>progdevtom</dc:creator>
      <dc:date>2016-05-26T12:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 5.0.2: configuring an external Solr instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282089#M235219</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;Not sure how well this is going to work for you, without a lot of tweaking (but I haven't tried it myself).&amp;nbsp; The classes your dependent on are coming from the&amp;nbsp; alfresco-solr4xxx.jar that you'll need to have on the classpath of your external Solr.&amp;nbsp; As well as this, Alfresco have added other alfresco jars to the Solr4 webapp so I'd guess you'd need these two. You can find them in your alfresco tomcat's webapps/solr4/WEB-INF/lib directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if you do get past this dependency issue (and there may be other issues hiding behind this as well), I imagine you'll have the same problem you saw when copying the war out.&amp;nbsp; Alfresco is configured to use bidirectional SSL to secure the communication between Solr and Alfresco so unless you also apply the same security on your external Solr using the same certificates or disable the SSL requirement completely you won't be able to get Alfresco and the new Solr to talk to each other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also putting Solr and Alfresco on different servers is going to generate a lot of network traffic between the 2 nodes, and probably reduce performance.&amp;nbsp; The model used by Alfresco is actually a pull model from Solr rather than a push into Solr.&amp;nbsp; So the alfresco code (from the extra jars) that lives in the Solr app makes frequent HTTPS calls to Alfresco to determine if there is new content, ACLS, models etc to index and if there is it pulls those across creates Solr document objects from them and then uses standard Solr APIs to ingest the content into the index.&amp;nbsp; This lets the Alfresco application not worry about the need for indexing at all with the exception of answering specific questions that Solr asks periodically.&amp;nbsp; It also leads to the eventual consistency model that is used for indexing since the introduction of Solr in Alfresco 4.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WIth regards the use of a central Solr instance, the default Alfresco security setup is going to make this difficult to do.&amp;nbsp; Either you allow Solr to use bidirectional SSL so that Alfresco knows it's talking to a trusted Solr but which will probably break your ability to access the SOlr index from anything other than Alfresco, or you turn off the SSL requirement both for Alfresco and Solr, which means that anyone who can access the Solr node can impersonate &amp;lt;em&amp;gt;any&amp;lt;/em&amp;gt; user and retrieve any content/metadata/index info that exists in the index, bypassing all Alfresco security imposed on the content itself&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I'm sure it's possible to do, but it's not often done because of the complexities from the design.&amp;nbsp; And that's the real point, Alfresco designed the index service to work with a dedicated Alfresco Solr node, not a shared Solr service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 17:19:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282089#M235219</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-05-26T17:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 5.0.2: configuring an external Solr instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282090#M235220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Steven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your insights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this context it indeed makes more sence to setup another solr instance for other purposes. I don't want to start messing with the SSL part of this setup. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It was nice as a POC but indeed it won't be practical wrt performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 21:09:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0-2-configuring-an-external-solr-instance/m-p/282090#M235220</guid>
      <dc:creator>progdevtom</dc:creator>
      <dc:date>2016-05-26T21:09:47Z</dc:date>
    </item>
  </channel>
</rss>

