<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:26:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3271] Reindex for sample data loaded by mod-inventory-storage in reference environment</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3271</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Background%3A&quot;&gt;&lt;/a&gt;Background:&lt;/h3&gt;

&lt;p&gt;When sample data is loaded for inventory-storage for reference enviroments (e.g. snapshot, testing) the mod-seach is not enabled for the tenant. That&apos;s why the data is skipped in mod-seach (because it doesn&apos;t have index for the tenant yet).&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Requirements%3A&quot;&gt;&lt;/a&gt;Requirements:&lt;/h3&gt;

&lt;p&gt;Re-index should be run, when the search module is deployed (after postTenant) uisng the following REST call:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
POST [OKAPI_URL]/search/index/inventory/reindex

x-okapi-tenant: [tenant]
x-okapi-token: [JWT_TOKEN]

{
  &lt;span class=&quot;code-quote&quot;&gt;&quot;recreateIndex&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="82122">FOLIO-3271</key>
            <summary>Reindex for sample data loaded by mod-inventory-storage in reference environment</summary>
                <type id="10005" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium">Story</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="70121:84bca0b8-4380-4d87-8a90-53e9133584f6">Mikhail Fokanov</reporter>
                                    <labels>
                    </labels>
                <created>Thu, 26 Aug 2021 12:28:05 +0000</created>
                <updated>Tue, 14 Sep 2021 15:40:16 +0000</updated>
                            <resolved>Tue, 14 Sep 2021 15:40:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="196538" author="5c706fbb47a54a6728e59df2" created="Tue, 31 Aug 2021 16:21:34 +0000"  >&lt;p&gt;This of course would not be difficult to do, but I&apos;m wondering under what circumstances you would &lt;em&gt;not&lt;/em&gt; do this upon enabling mod-search &amp;#8211; in other words, shouldn&apos;t it be part of the tenant initialization?&lt;/p&gt;

&lt;p&gt;Also wondering if this is an asynchronous process (it kind of looks like it, based on the response) &amp;#8211; if so, is there an API for checking the indexing process? I didn&apos;t see one, skimming the API documentation.&lt;/p&gt;</comment>
                                                            <comment id="196540" author="5c706fbb47a54a6728e59df2" created="Tue, 31 Aug 2021 16:22:53 +0000"  >&lt;p&gt;If you wanted to, you could support a &lt;tt&gt;tenantParameter&lt;/tt&gt; like &lt;tt&gt;reindex=true&lt;/tt&gt; to control the behavior on tenant init.&lt;/p&gt;</comment>
                                                            <comment id="196541" author="70121:84bca0b8-4380-4d87-8a90-53e9133584f6" created="Tue, 31 Aug 2021 17:19:29 +0000"  >&lt;p&gt;&lt;tt&gt;Thanks &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;. Reindex shouldn&apos;t be applied every time on postTenant. But the option with optional tenantParameter&lt;/tt&gt;&#160;looks good to me. I will ask guys whether they are able to implement it in current sprint.&lt;/p&gt;</comment>
                                                            <comment id="196543" author="5c706fbb47a54a6728e59df2" created="Wed, 1 Sep 2021 15:42:14 +0000"  >&lt;p&gt;Thanks, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A84bca0b8-4380-4d87-8a90-53e9133584f6&quot; class=&quot;user-hover&quot; rel=&quot;70121:84bca0b8-4380-4d87-8a90-53e9133584f6&quot; data-account-id=&quot;70121:84bca0b8-4380-4d87-8a90-53e9133584f6&quot; accountid=&quot;70121:84bca0b8-4380-4d87-8a90-53e9133584f6&quot; rel=&quot;noreferrer&quot;&gt;Mikhail Fokanov&lt;/a&gt;. Please let me know when it is decided how to approach this. If a new &lt;tt&gt;tenantParameter&lt;/tt&gt; is required, that will need a little bit of DevOps work to get it in. If an issue is created for adding the &lt;tt&gt;tenantParameter&lt;/tt&gt;, please link it here as a blocker.&lt;/p&gt;

&lt;p&gt;If it is decided not to use a &lt;tt&gt;tenantParameter&lt;/tt&gt;, then we will have to kick off a reindex using the reindex API, which is also quite simple. So the sooner it is decided, the quicker we can get this issue resolved.&lt;/p&gt;</comment>
                                                            <comment id="196544" author="712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b" created="Thu, 2 Sep 2021 08:17:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;It is a good approach to use a&#160;tenantParameter for mod-search. runReindex - I think is a good name for the new tenantParameter&lt;/p&gt;</comment>
                                                            <comment id="196546" author="5c706fbb47a54a6728e59df2" created="Thu, 2 Sep 2021 14:53:03 +0000"  >&lt;p&gt;Thanks, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ab819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; class=&quot;user-hover&quot; rel=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; data-account-id=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; accountid=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; rel=&quot;noreferrer&quot;&gt;Oleksii Kuzminov&lt;/a&gt; &amp;#8211; please link the JIRA issue here when you have created it for adding the tenantParameter to mod-search.&lt;/p&gt;</comment>
                                                            <comment id="196548" author="712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b" created="Tue, 7 Sep 2021 05:37:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;, it will be added in scope of&#160;MSEARCH-174&#160;&lt;/p&gt;</comment>
                                                            <comment id="196549" author="5c706fbb47a54a6728e59df2" created="Tue, 7 Sep 2021 12:24:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ab819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; class=&quot;user-hover&quot; rel=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; data-account-id=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; accountid=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; rel=&quot;noreferrer&quot;&gt;Oleksii Kuzminov&lt;/a&gt; should we change the link to 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MSEARCH-174&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MSEARCH-174&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Investigate indexing issues in reference environment&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            MSEARCH-174
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 from &quot;blocks&quot; to &quot;blocked by&quot;, since we can&apos;t implement this until the tenantParameter is in place?&lt;/p&gt;</comment>
                                                            <comment id="196551" author="712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b" created="Wed, 8 Sep 2021 09:10:05 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;. &lt;a href=&quot;https://github.com/folio-org/mod-search/pull/122&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-search/pull/122&lt;/a&gt;&#160;and&#160;MSEARCH-174&#160;are already merged. We can add a new&#160;runReindex tenant attribute for mod-search on snapshot and testing envs&lt;/p&gt;</comment>
                                                            <comment id="196553" author="5c706fbb47a54a6728e59df2" created="Wed, 8 Sep 2021 15:26:45 +0000"  >&lt;p&gt;Thank, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ab819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; class=&quot;user-hover&quot; rel=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; data-account-id=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; accountid=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; rel=&quot;noreferrer&quot;&gt;Oleksii Kuzminov&lt;/a&gt;, I&apos;ve reopened this issue.&lt;/p&gt;</comment>
                                                            <comment id="196554" author="712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b" created="Thu, 9 Sep 2021 11:47:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt;&#160;plz, let me know when this tenantAttribute will be added for reference envs. We need to test it. Thanks&lt;/p&gt;</comment>
                                                            <comment id="196555" author="5c706fbb47a54a6728e59df2" created="Mon, 13 Sep 2021 18:24:03 +0000"  >&lt;p&gt;I added the &lt;tt&gt;runReindex&lt;/tt&gt; tenant parameter to the call to the Okapi tenant &lt;tt&gt;install&lt;/tt&gt; endpoint. I can see that it was added to the tenant invocation in the Okapi log:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
16:56:51 [328144/proxy] [supertenant] [] [] INFO  ProxyContext         328144/proxy RES 200 11616472us okapi-4.9.0-SNAPSHOT /_/proxy/tenants/diku/install?tenantParameters=loadReference%3Dtrue%2CloadSample%3Dtrue%2CrunReindex%3Dtrue
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, I&apos;m not sure how to tell if it actually did what it was supposed to do. I skimmed the mod-search log, but I confess I&apos;m not sure what to look for. Attached here:  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/64402&quot; title=&quot;mod-search.log attached to FOLIO-3271&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;mod-search.log&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;3fdf54ff-578d-426d-99e7-5f424e0f8855&quot; rel=&quot;noreferrer&quot;&gt;mod-search.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;In the Inventory ES interface, a keyword search for &lt;tt&gt;*&lt;/tt&gt; returns 31 records.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ab819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; class=&quot;user-hover&quot; rel=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; data-account-id=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; accountid=&quot;712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b&quot; rel=&quot;noreferrer&quot;&gt;Oleksii Kuzminov&lt;/a&gt; Please review the attached log and the &lt;a href=&quot;https://folio-snapshot-test.dev.folio.org&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-snapshot-test.dev.folio.org&lt;/a&gt; system. If everything looks good to you, then I will merge the change into the regular reference environment build. Thanks!&lt;/p&gt;</comment>
                                                            <comment id="196557" author="712020:b819106d-3b2a-48e6-a8dd-e7ecc471a47b" created="Mon, 13 Sep 2021 23:13:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt; Looks good for me, thanks&lt;/p&gt;</comment>
                                                            <comment id="196559" author="5c706fbb47a54a6728e59df2" created="Tue, 14 Sep 2021 15:40:06 +0000"  >&lt;p&gt;The update has been merged into folio-ansible and the next builds of folio-testing and folio-snapshot will include this.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="28789">MSEARCH-174</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64402" name="mod-search.log" size="337091" author="5c706fbb47a54a6728e59df2" created="Mon, 13 Sep 2021 18:21:18 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0383r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="279">DevOps Sprint 122</customfieldvalue>
    <customfieldvalue id="280">DevOps Sprint 123</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.5</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 31 Aug 2021 16:21:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>