最近の更新

閲覧数: 44(0)

3月の初投稿は、ネタが無いのでIT閑話でw

mediawikiのバージョン制限で、しばらくElasticsearch 1.7系を使って来ましたが、mediawiki 1.28以降のextensionではElasticsearch 2.xが推奨となったので、extensionのバージョンアップとともに、Elasticsearchもバージョンアップしました。

本体:
Elasticsearch 1.7 --> Elasticsearch 2.4

mediawiki extension:
CirrusSearch 1.27対応版 --> 1.28対応版
Elastica 1.27対応版 --> 1.28対応版
Scribunto 1.27対応版 --> 1.28対応版

Elasticsearchのバージョンアップ。/etc/yum.repos.d/elasticsearch.repoの1.7をenable=0に、2.xをenable=1に変更し、あとは”yum update”すれば自動的に更新されます。

[elasticsearch-1.7]
name=Elasticsearch repository for 1.7.x packages
baseurl=http://packages.elastic.co/elasticsearch/1.7/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=0
[elasticsearch-2.x]
name=Elasticsearch repository for 2.x packages
baseurl=http://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1

extensionsは対応版で入れ換えることでバージョンアップします。

インデックスの再作成は、mediawikiとwordpressそれぞれで実施する必要があります。wordpressはFantastic Elasticsearchのコンソールからindex wipeとre-indexを実行すればOKです。mediawikiはマニュアルで再作成する必要があり、以下のコマンドを実行します。

php extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php --reindexAndRemoveOk --indexIdentifier=now
php extensions/CirrusSearch/maintenance/forceSearchIndex.php --skipLinks --indexOnSkip
php extensions/CirrusSearch/maintenance/forceSearchIndex.php --skipParse

これでElasticsearchと関連のインデックス更新が完了します。

カテゴリー公開, 閑話(IT)タグ, ,
mediawiki 1.25.1

2015/5/25 1.25及び1.25.1がリリースされた。Tsubopediaも1.24.2から  続きを読む

ページナビ
blank

いわゆるトップページで一覧表示する時や、シングルページで個別記事を表示する時に、ページ下部に「新しい  続きを読む

MobileFrontendと広告
blank

Tsubopediaで使用しているMediawikiのモバイル用ページを表示するExtensionで  続きを読む

google fontsの使い方
blank

いろいろなところでお世話になっている、グーグルのリソース。これはフォント。google web fo  続きを読む

Elasticsearch 6.8.11
blank

2017年末に「2.4.6」から「5.6.5」へバージョンアップして以来の大幅バージョンアップです。  続きを読む

テーマの日本語化
blank

今回は単なる「翻訳」とかではなくて「文化的」な面での日本語化についての対応。今回の元になったテーマ「  続きを読む

スポンサーリンク

コメントを残す

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください