Skip to content

Commit

Permalink
LRQA-54780 Don't create a follower index for Result Rankings since it…
Browse files Browse the repository at this point in the history
…'s blacklisted
  • Loading branch information
timpak authored and brianchandotcom committed Feb 26, 2020
1 parent 6100d7f commit b3e22d3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build-test-elasticsearch7.xml
Original file line number Diff line number Diff line change
Expand Up @@ -853,12 +853,6 @@ xpack.monitoring.collection.enabled: true</echo>

<echo>${curl.output.follower.liferay.index}</echo>

<exec executable="curl" outputproperty="curl.output.follower.result.rankings.index">
<arg line="-X PUT &quot;localhost:9202/liferay-search-tuning-rankings/_ccr/follow?wait_for_active_shards=1&quot; -H &apos;Content-Type: application/json&apos; -d &apos;{&quot;remote_cluster&quot;: &quot;leader&quot;,&quot;leader_index&quot;: &quot;liferay-search-tuning-rankings&quot;}&apos;" />
</exec>

<echo>${curl.output.follower.result.rankings.index}</echo>

<exec executable="curl" outputproperty="curl.output.follower.synonyms.index">
<arg line="-X PUT &quot;localhost:9202/liferay-search-tuning-synonyms-liferay-${companyId}/_ccr/follow?wait_for_active_shards=1&quot; -H &apos;Content-Type: application/json&apos; -d &apos;{&quot;remote_cluster&quot;: &quot;leader&quot;,&quot;leader_index&quot;: &quot;liferay-search-tuning-synonyms-liferay-${companyId}&quot;}&apos;" />
</exec>
Expand All @@ -874,7 +868,6 @@ xpack.monitoring.collection.enabled: true</echo>
<if>
<and>
<contains string="${curl.output.follower.indices}" substring="liferay-${companyId}" />
<contains string="${curl.output.follower.indices}" substring="liferay-search-tuning-rankings" />
<contains string="${curl.output.follower.indices}" substring="liferay-search-tuning-synonyms-liferay-${companyId}" />
</and>
<then>
Expand Down

0 comments on commit b3e22d3

Please sign in to comment.