diqa / faceted-search-2
Enhanced retrieval provides a faceted search for Mediawiki and SMW. It requires a SOLR server as backend.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:mediawiki-extension
Requires
- php: >=7.4.0
- composer/installers: 1.*,>=1.0.1
- nesbot/carbon: ^2.72
- netresearch/jsonmapper: >=v4.4.1
Requires (Dev)
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2025-02-10 18:14:26 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
and go to /var/www/html/mediawiki/vm-ubuntu
and run:
./solr-installPowerSearch.sh
./solr-installCore.sh
Build Frontend
Install NPM - https://nodejs.org/en/download
Open console and change to folder facetedSearch2/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)
To import test data for it-tests
php test/importTestdataForIT.php
- npm run it-test (to run all integration-tests)
Backend
To run backend tests:
./runTests
To import test data for frontend:
php test/importTestdataForFrontend.php