Update README.md

based on https://www.drupal.org/project/advanced_search/issues/3442700
This commit is contained in:
Rosie Le Faive 2024-04-30 15:31:04 -03:00 committed by GitHub
parent 2bc8c2882c
commit 756ebde7d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,35 +235,33 @@ Use the following syntaxes (eDismax ONLY) to increase Search acuracy is provided
## Requirements
Use composer to download the required libraries and modules.
Advanced Search requires an installation of Solr, as its syntax is Solr-specific.
The Advanced Search blocks also utilize the Facets API, therefore they only work on Views where Facets are enabled.
```bash
composer require drupal/facets "^1.3"
composer require drupal/search_api_solr "^4.1"
composer require drupal/search_api "^1.5"
```
However, for reference, `advanced_search` requires the following
drupal modules:
The following requirements (Drupal modules) will be downloaded automatically by Composer:
- [facets](https://www.drupal.org/project/facets)
- [search_api_solr](https://www.drupal.org/project/search_api_solr)
## Installation
To download/enable just this module, use the following from the command line:
This module is part of the [Islandora Starter Site](https://github.com/Islandora-Devops/islandora-starter-site), which is a full Drupal site setup that includes
Solr, and automatically sets up the views and facets required for Advanced Search to work.
To download and enable just this module, use the following from the command line:
```bash
composer require islandora/islandora
composer require drupal/advanced_search
drush en advanced_search
```
## Configuration
You can set the following configuration at
`admin/config/islandora/advanced_search`:
`/admin/config/search/advanced`:
![Config screen, showing sections for Advanced Search Block, Pager Block, Advanced Search, and Facets](https://github.com/Islandora/advanced_search/assets/1943338/004c7932-6918-4036-8bfd-b9bf27b88f6f)
![image](https://user-images.githubusercontent.com/7862086/216649283-4c2866b0-aa29-4bc8-ae80-d7fcdead6e73.png)
## Configuring Solr