diqa / faceted-search-2
Provides a faceted search for Mediawiki and SMW. It requires a SOLR or Elastic search server as backend.
Package info
github.com/kkthek/faceted-search-2
Type:mediawiki-extension
pkg:composer/diqa/faceted-search-2
Requires
- php: >=7.4.0
- ext-ctype: *
- ext-dom: *
- ext-intl: *
- ext-libxml: *
- composer/installers: 1.*,>=1.0.1|2.*
- elasticsearch/elasticsearch: ^8.19
- nesbot/carbon: ^2.72
- netresearch/jsonmapper: >=v4.4.1
- phpoffice/phppresentation: ^1.2
- phpoffice/phpspreadsheet: ^1.12
- phpoffice/phpword: ^1.4
- smalot/pdfparser: ^2.12
Requires (Dev)
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2026-06-21 15:00:15 UTC
README
Next generation of EnhancedRetrieval
Create VM
- Install Virtualbox -
https://www.virtualbox.org/ - Install Vagrant -
https://www.vagrantup.com/
Open cmd and change to folder "vm-ubuntu" and run:
vagrant up
Enter VM by running:
vagrant ssh
SOLR
and go to /var/www/html/mediawiki/vm-ubuntu and run:
sudo ./solr-installPowerSearch.sh
sudo ./solr-installCore.sh
ElasticSearch
goto to /var/www/html/mediawiki/vm-ubuntu and run:
sudo ./install-elastic.sh
sudo ./set-password-for-elastic.sh
This creates a user "elastic" with a password and sets it in the env.php file.
Build Frontend
Install NPM - https://nodejs.org/en/download
Open CMD console and change to folder "fs-react"
npm install(initially or after dependency update)npm start(to run the webserver for local development)npm run dev-build(DEV build)npm run build(PROD build)npm test(to run all unit tests)npm run it-test(to run all integration-tests)
Backend
To run backend tests, login via SSH to VM and run:
/var/www/html/mediawiki/runTests.sh
To import test data for frontend:
php /var/www/html/mediawiki/test/importTestdataForFrontend.php