I want to index statements of a specific property.
The documentation says that this can be done with the searchIndexProperties option.
I can't get it to work.
Steps to replicate the issue (include links if applicable):
0. Install Wikibase using docker
- Create a new property
- add this to Localsettings.php (with the correct property identifier)
$wgWBRepoSettings['searchIndexProperties'] = ['P1', 'P2'];
- create an item
- add statement to the item with the property created in step 1.
- wait a bit, for indexing stuff.
- Check what has been indexed.
- by appending ?action=cirrusDump to the url of the item. (as described here https://phabricator.wikimedia.org/T192288)
- or by directly looking into the elasticsearch index.
expectation:
Array of properties (by ID string) that should be included in the statement_keywords field of the search index.
- =(
What happens?:
No indexing of the statement
What should have happened instead?:
Indexing of the statement
Software version (skip for WMF-hosted wikis like Wikipedia):
copied from .env
## Image Configuration WIKIBASE_IMAGE_NAME=wikibase/wikibase:1.37.6-wmde.9 WDQS_IMAGE_NAME=wikibase/wdqs:0.3.115-wmde.9 WDQS_FRONTEND_IMAGE_NAME=wikibase/wdqs-frontend:wmde.9 ELASTICSEARCH_IMAGE_NAME=wikibase/elasticsearch:6.8.23-wmde.9 WIKIBASE_BUNDLE_IMAGE_NAME=wikibase/wikibase-bundle:1.37.6-wmde.9 QUICKSTATEMENTS_IMAGE_NAME=wikibase/quickstatements:wmde.9 WDQS_PROXY_IMAGE_NAME=wikibase/wdqs-proxy:wmde.9 MYSQL_IMAGE_NAME=mariadb:10.9
Other information (browser name/version, screenshots, etc.):