<?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: force SOLR6 re/indexing from code in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130978#M35374</link>
    <description>&lt;P&gt;You can add the indexControl aspect for all the nodes that you want to reindex.&lt;/P&gt;
&lt;P&gt;This aspect allows you to change the indexing behavior deciding how to manage indexes for that content.&lt;/P&gt;
&lt;P&gt;You can decide if indexing only the properties or also the content and finally you could eventually want to disable the indexing process for that node and eventually re-enabled it. Take a look at the documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/config/repository/#control-indexes" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/latest/config/repository/#control-indexes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 12:33:10 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2023-11-08T12:33:10Z</dc:date>
    <item>
      <title>force SOLR6 re/indexing from code</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130975#M35371</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem with SOLR6 re/indexing.&lt;BR /&gt;I know that by default SOLR is re/indexed every 15 seconds and it is fine.&lt;BR /&gt;The challange I am facing is that I would like to force/trigger re/indexation process in the code for some created or modified nodes.&lt;BR /&gt;Is there a way to re/index node after being created or modified?&lt;BR /&gt;If it is possible, are there any threats connected with it?&lt;/P&gt;&lt;P&gt;Thank you in advance for solution or suggestion.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 17:04:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130975#M35371</guid>
      <dc:creator>LukaszRo</dc:creator>
      <dc:date>2022-06-18T17:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: force SOLR6 re/indexing from code</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130976#M35372</link>
      <description>&lt;P&gt;Ideally you don't have to force re-index from code. Indexes are eventually consistent. And if you see issues with index, you should try to re-index via solr admin console.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Default interval for index tracking is 10 seconds (although docs says 15 seconds) and its configurable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can partially re-index with help of&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;STRONG&gt;/solr/admin/cores?action=SUMMARY&amp;amp;wt=xml&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN&gt;, /&lt;STRONG&gt;solr/admin/cores?action=REPORT&amp;amp;wt=xml&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;STRONG&gt;/solr/admin/cores?action=REINDEX&amp;amp;txid=3212 or&amp;nbsp;/solr/admin/cores?action=FIX or&amp;nbsp;/solr/admin/cores?action=RETRY&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Background from TTL (you should watch it to learn more):&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://www.alfresco.com/events/webinars/tech-talk-live-reindexing-large-repositories" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.alfresco.com/events/webinars/tech-talk-live-reindexing-large-repositories&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="indexing-process.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1549i8B8F936714A5FE75/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="indexing-process2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1550i3DF7C718EC9FBE94/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 14:31:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130976#M35372</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-06-21T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: force SOLR6 re/indexing from code</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130977#M35373</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;thank you for your response. I don't want to change solr index tracking configuration to make it more frequent (my need would be probably 1 second), because I am afraid that such frequent interval would slow down significantly the system.&lt;/P&gt;&lt;P&gt;The case is that&amp;nbsp; a end-user is creating/modifing a node and if that node is not re/indexed it wouldn't be showed at all or showed with not modified properties. My goal is to show the end-user up-to-date properties. That's why I would like to run re/index process from the code to show the end-user the changes he/she made.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 10:27:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130977#M35373</guid>
      <dc:creator>LukaszRo</dc:creator>
      <dc:date>2022-06-27T10:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: force SOLR6 re/indexing from code</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130978#M35374</link>
      <description>&lt;P&gt;You can add the indexControl aspect for all the nodes that you want to reindex.&lt;/P&gt;
&lt;P&gt;This aspect allows you to change the indexing behavior deciding how to manage indexes for that content.&lt;/P&gt;
&lt;P&gt;You can decide if indexing only the properties or also the content and finally you could eventually want to disable the indexing process for that node and eventually re-enabled it. Take a look at the documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/config/repository/#control-indexes" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/latest/config/repository/#control-indexes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 12:33:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/force-solr6-re-indexing-from-code/m-p/130978#M35374</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2023-11-08T12:33:10Z</dc:date>
    </item>
  </channel>
</rss>

