Help:CirrusSearch elasticsearch replicas: Difference between revisions
← Older edit
Newer edit →
Help:CirrusSearch elasticsearch replicas(view source)
Revision as of 17:09, 3 September 2019
427 BYTES ADDED
,  2 YEARS AGO
→‎Accessing
 
=== Accessing ===
There are actually three clusters, named ''chi'', ''psi'' and ''omega''. ''chi'' contains approximately the 200 largest wikis. ''psi'' and ''omega'' contain equal splits of the remaining smaller wikis. Assignment of wikis to clusters is constant and is not expected to change.
 
{|
|-
 
<code>curl -XGET http<nowiki>s</nowiki>://cloudelastic.wikimedia.org:8243/omega:labswiki/_search?q=example</code>
 
A plausible method to programatically connect to the right cluster is to fetch the <code>/_aliases</code> end-point from each cluster. The cluster that contains indices for a wiki will have an alias matching the internal database name of the wiki. This alias will point to all related indices, such as ''labswiki_content'' and ''labswiki_general''.
 
=== Indices Available ===
Ebernhardson
AUTOPATROLLERS
266
EDITS
Wikitech
Privacy policy
Terms of Use
Desktop
HomeRandomLog inDonateAbout WikitechDisclaimers