Extension:WikibaseCirrusSearch/ja
The WikibaseCirrusSearch extension provides ElasticSearch functionality, as supported by CirrusSearch extension, to Wikibase Repository extension.
Installation
- This extension requires the following extensions to be installed first:
- ダウンロードして、ファイルを
extensions/
フォルダー内のWikibaseCirrusSearch
という名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikibaseCirrusSearch
- 以下のコードを LocalSettings.php ファイルの末尾に追加します: Configure as required.
wfLoadExtension( 'WikibaseCirrusSearch' );
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
Configuration
The configuration options of WikibaseCirrusSearch are documented at the docs/config.wiki file.
Following configuration options are supported (all variables are prefixed with wgWBCS
in globals):
Name | Type | Description | Default |
---|---|---|---|
UseCirrus | boolean|null | whether we should use search functionality provided by this extension. If set to null, CirrusSearch is not used unless the request has useCirrus=1. Note: The default for this value is false, to enable search functionality it should be set to true in the configuration. | false |
PrefixSearchProfile | name of the label scoring profile to use for prefix search. The profile should be defined like examples in config/EntityPrefixSearchProfiles.php . |
||
PrefixSearchProfiles | Loaded from config/EntityPrefixSearchProfiles.php , does not need to be defined manually. |
||
DefaultPrefixRescoreProfile | name of the rescoring profile to use for prefix search. The profile should be defined in config/ElasticSearchRescoreProfiles.php . |
||
FulltextSearchProfile | name of the search profile to use for fulltext search. The profile should be defined like examples in config/EntitySearchProfiles.php . |
||
FulltextSearchProfiles | search profiles to use for fulltext search. | ||
DefaultFulltextRescoreProfile | name of the rescoring profile to use for fulltext search. The profile should be defined in config/ElasticSearchRescoreProfiles.php . |
||
RescoreProfiles | Loaded from config/ElasticSearchRescoreProfiles.php , does not have to be defined manually. |
||
StatementBoost | Configuration to boost or deboost certain statement values. | ||
UseStemming | Configuration to use stemming analyzer for descriptions in certain languages. Array of two fields: index – use it for indexing, query – use main text field for querying. |
関連項目
- Help:WikibaseCirrusSearch
- Wikibase Faceted Search — Alternative extension with more comprehensive indexing
- Top Wikibase extensions — Curated list of key Wikibase extensions
![]() | この拡張機能は 1 つ以上のウィキメディアのプロジェクトで使用されています。 これはおそらく、この拡張機能が安定していて高いトラフィックのウェブサイトでも十分に動作することを意味します。 この拡張機能がインストールされている場所を確認するには、ウィキメディアの設定ファイル CommonSettings.php および InitialiseSettings.php 内で、この拡張機能の名前を探してください。 特定のウィキにインストールされている拡張機能の完全な一覧は、そのウィキの Special:Version ページにあります。 |
![]() | この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: これは正式な一覧ではありません。 一部のウィキ ファーム/ウィキ ホスト/パッケージは、ここに記載されていなくてもこの拡張機能を含んでいる場合があります。 必ずご利用のウィキ ファーム、ウィキ ホスト、バンドルで確認してください。 |
Category:API extensions/ja
Category:All extensions/ja
Category:ApiOpenSearchSuggest extensions/ja
Category:CirrusSearchAddQueryFeatures extensions/ja
Category:CirrusSearchAnalysisConfig extensions/ja
Category:CirrusSearchProfileService extensions/ja
Category:Discovery/ja
Category:Extensions in Wikimedia version control/ja
Category:Extensions included in Miraheze/ja
Category:Extensions included in WikiForge/ja
Category:Extensions supporting Composer/ja
Category:Extensions used on Wikimedia/ja
Category:Extensions with manual MediaWiki version/ja
Category:GPL licensed extensions/ja
Category:Search/ja
Category:Search extensions/ja
Category:SetupAfterCache extensions/ja
Category:ShowSearchHitTitle extensions/ja
Category:ShowSearchHit extensions/ja
Category:SpecialPage initList extensions/ja
Category:Stable extensions/ja
Category:Wikibase/ja
Category:WikibaseRepoEntityTypes extensions/ja
Category:Wikibase extensions/ja
Category:Wikidata/ja