Extension:WikibaseCirrusSearch
Appearance
リリースの状態: 安定 |
|
|---|---|
| 実装 | 検索, API |
| 説明 | Implements searching for Wikibase using ElasticSearch |
| 作者 | Stas Malyshev |
| 最新バージョン | 0.0.1 (continuous updates) |
| 互換性の方針 | master が後方互換性を維持しています。 |
| MediaWiki | 1.33+ |
| PHP | 7.0+ |
| Composer | wikibase/cirrussearch |
|
|
| ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
| ダウンロード | README |
| ヘルプ | Help:Extension:WikibaseCirrusSearch/ja |
| translatewiki.net で翻訳を利用できる場合は、WikibaseCirrusSearch 拡張機能の翻訳にご協力ください | |
| Vagrant role | wikibasecirrussearch |
| 問題点 | 未解決のタスク · バグを報告 |
The WikibaseCirrusSearch extension provides ElasticSearch functionality, as supported by CirrusSearch extension, to Wikibase Repository extension.
インストール
- 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」に移動して、拡張機能が正しくインストールされたことを確認します。
設定
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 ページにあります。 |
| この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: |
Categories:
- Stable extensions/ja
- Search extensions/ja
- API extensions/ja
- Extensions supporting Composer/ja
- ApiOpenSearchSuggest extensions/ja
- CirrusSearchAddQueryFeatures extensions/ja
- CirrusSearchAnalysisConfig extensions/ja
- CirrusSearchProfileService extensions/ja
- SetupAfterCache extensions/ja
- ShowSearchHit extensions/ja
- ShowSearchHitTitle extensions/ja
- SpecialPage initList extensions/ja
- WikibaseRepoEntityTypes extensions/ja
- GPL licensed extensions/ja
- Extensions in Wikimedia version control/ja
- All extensions/ja
- Extensions used on Wikimedia/ja
- Extensions included in Miraheze/ja
- Discovery/ja
- Search/ja
- Wikidata/ja
- Wikibase/ja
- Wikibase extensions/ja
