<?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 How to Override a Bean in Solr Search Subsystem? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-override-a-bean-in-solr-search-subsystem/m-p/127045#M34543</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I need some help with &lt;STRONG&gt;overriding a specific bean in the Solr search subsystem&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In my project, I need to modify certain query parameters in the &lt;STRONG&gt;&lt;EM&gt;solrQueryHTTPCLient&lt;/EM&gt;&lt;/STRONG&gt; class, so I’m trying to override the &lt;STRONG&gt;&lt;EM&gt;search.solrQueryHTTPCLient&lt;/EM&gt;&lt;/STRONG&gt; bean defined in &lt;STRONG&gt;&lt;EM&gt;solr-search-context.xml&lt;/EM&gt;&lt;/STRONG&gt; and change its class to my custom implementation.&lt;/P&gt;&lt;P&gt;I’ve attempted to override the bean in &lt;STRONG&gt;&lt;EM&gt;custom-web-context.xml&lt;/EM&gt;&lt;/STRONG&gt;, but it didn’t work. From what I understand, this is likely because the search subsystems use their own application contexts, which might be preventing the override from taking effect.&lt;/P&gt;&lt;P&gt;Could someone guide me on the correct approach to solve my task? Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 12:28:43 GMT</pubDate>
    <dc:creator>ephrmntr</dc:creator>
    <dc:date>2024-09-25T12:28:43Z</dc:date>
    <item>
      <title>How to Override a Bean in Solr Search Subsystem?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-override-a-bean-in-solr-search-subsystem/m-p/127045#M34543</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I need some help with &lt;STRONG&gt;overriding a specific bean in the Solr search subsystem&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;In my project, I need to modify certain query parameters in the &lt;STRONG&gt;&lt;EM&gt;solrQueryHTTPCLient&lt;/EM&gt;&lt;/STRONG&gt; class, so I’m trying to override the &lt;STRONG&gt;&lt;EM&gt;search.solrQueryHTTPCLient&lt;/EM&gt;&lt;/STRONG&gt; bean defined in &lt;STRONG&gt;&lt;EM&gt;solr-search-context.xml&lt;/EM&gt;&lt;/STRONG&gt; and change its class to my custom implementation.&lt;/P&gt;&lt;P&gt;I’ve attempted to override the bean in &lt;STRONG&gt;&lt;EM&gt;custom-web-context.xml&lt;/EM&gt;&lt;/STRONG&gt;, but it didn’t work. From what I understand, this is likely because the search subsystems use their own application contexts, which might be preventing the override from taking effect.&lt;/P&gt;&lt;P&gt;Could someone guide me on the correct approach to solve my task? Any help would be much appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 12:28:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-override-a-bean-in-solr-search-subsystem/m-p/127045#M34543</guid>
      <dc:creator>ephrmntr</dc:creator>
      <dc:date>2024-09-25T12:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Override a Bean in Solr Search Subsystem?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-override-a-bean-in-solr-search-subsystem/m-p/127046#M34544</link>
      <description>&lt;P&gt;Hope this helps: &lt;A href="https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/subsystems/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/subsystems/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:34:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-override-a-bean-in-solr-search-subsystem/m-p/127046#M34544</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2024-09-25T13:34:44Z</dc:date>
    </item>
  </channel>
</rss>

