dcausse moved this task from Backlog to Done on the MediaWiki-Vagrant board.
dcausse added a comment.


  The `searchIndexProperties` wikibase config needs to be populated as well.
  
  What I did (for the record):
  
  - fetch a fresh vagrant
  - enable wikibasecirrussearch
  - provision (ran into T231534 <https://phabricator.wikimedia.org/T231534>)
  - ran vagrant provision a second time
  - created `/vagrant/settings.d/wikis/wikidatawiki/settings.d/20-cirrus.php` 
to set `$wgWBCSUseCirrus = true;`
  - edited `/vagrant/mediawiki/extensions/repo/config/Wikibase.default.php` and 
set `'searchIndexProperties' => ['P1']` (there are probably better ways to 
customize wikibase in vagrant)
  - reindexed wikidatawiki: `mwscript 
extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php --wiki 
wikidatawiki --reindexAndRemoveOk --indexIdentifier now`
  - ran into GC issues (T211362 <https://phabricator.wikimedia.org/T211362>)
  - edited `/etc/elasticsearch/jvm.options` and set `-Xmx512`
  - deleted partially created indices: `curl -XDELETE 
http://localhost:9200/wikidatawiki*`
  - created the indices: `mwscript 
extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php --wiki 
wikidatawiki`
  - populated the index: `mwscript 
extensions/CirrusSearch/maintenance/forceSearchIndex.php --wiki wikidatawiki`
  - created P1 <https://phabricator.wikimedia.org/P1> and an entity using it, 
searched for `haswbstatement:P1`, `haswbstatement:*` both returned Q1
  
  I'll increase the heap as suggested in T211362 
<https://phabricator.wikimedia.org/T211362>.
  
  As for this particular ticket I'm not sure what to do, I'm tentatively moving 
it to done, @Mvolz please let me know if setting `searchIndexProperties` did 
solve the problem.

TASK DETAIL
  https://phabricator.wikimedia.org/T228503

WORKBOARD
  https://phabricator.wikimedia.org/project/board/627/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dcausse
Cc: Tgr, Smalyshev, Aklapper, Mvolz, darthmon_wmde, ET4Eva, DannyS712, Nandana, 
Lahi, jgleeson, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, EBjune, 
LawExplorer, Avner, Gehel, _jensen, rosalieper, FloNight, Luke081515, 
Wikidata-bugs, aude, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to