Skip to content

Commit 08bb953

Browse files
thimiosbrianzelip
authored andcommitted
ANW-2220 do not require an env variable to enable analysis-extras
1 parent 14b99b6 commit 08bb953

File tree

1 file changed

+5
-19
lines changed
  • src/content/docs/provisioning

1 file changed

+5
-19
lines changed

src/content/docs/provisioning/solr.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Cloud deployments specifically (i.e. we cannot help troubleshoot Zookeeper).**
2525
Before running Solr you will need to
2626
setup a [configset](https://solr.apache.org/guide/8_10/config-sets.html#configsets-in-standalone-mode).
2727

28-
### Linux
28+
### Create a new directory
29+
30+
#### Linux
2931

3032
Using the command line:
3133

@@ -39,7 +41,7 @@ Be sure to replace `/$path/$to/$solr` with your actual Solr location, which migh
3941
mkdir -p /opt/solr/server/solr/configsets/archivesspace/conf
4042
```
4143

42-
### Windows
44+
#### Windows
4345

4446
Right click on your Solr directory and open in Windows Terminal (Powershell).
4547

@@ -56,7 +58,7 @@ Mode LastWriteTime Length Name
5658
d----- 10/25/2021 12:15 PM conf
5759
```
5860

59-
---
61+
### Copy the config files
6062

6163
Copy the ArchivesSpace Solr configuration files from the `solr` directory included
6264
with the release into the `$SOLR_HOME/server/solr/configsets/archivesspace/conf` directory.
@@ -83,22 +85,6 @@ Mode LastWriteTime Length Name
8385

8486
_Note: your exact output may be slightly different._
8587

86-
## Setup the environment
87-
88-
From Solr v9 ArchivesSpace requires the use of [Solr modules](https://solr.apache.org/guide/solr/latest/configuration-guide/solr-modules.html).
89-
We recommend using the environment variable option to specify the modules to use:
90-
91-
```
92-
SOLR_MODULES=analysis-extras
93-
```
94-
95-
This environment variable needs to be available to the Solr instance at runtime.
96-
97-
For instructions on how set an environment variable here are some recommended articles:
98-
99-
- https://www.freecodecamp.org/news/how-to-set-an-environment-variable-in-linux
100-
- https://www.java.com/en/download/help/path.html (includes Windows)
101-
10288
## Setup a Solr core
10389

10490
With the `configset` in place run the command to create an ArchivesSpace core:

0 commit comments

Comments
 (0)