Commit 5277fd8
committed
DIS-1653: Add spellcheckMaxCollationTries to system_variables
This patch adds a new configuration entry for SolR's `spellcheck.maxCollationTries`.
The setting is hardcoded to the value of `25` right now. This patch makes it configurable and also default to `25` to avoid any behavior change as-is.
To test:
0. Have a running Aspen dev environment
1. Apply this patch
2. Perform the maintenance update
3. Open the SolR logs. In my env I would do:
```shell
$ docker logs -f aspen-dev-box-solr-1 | grep spellcheck.maxCollationTries
```
4. Perform any search on your dev Aspen instance
=> SUCCESS: The logs show spellcheck.maxCollationTries=25 is passed i.e. no behavior change
5. Edit System Administration > System Variables > Spellcheck Max Collation Tries to any value. For example: 5
6. Repeat 4
=> SUCCESS: spellcheck.maxCollationTries=5 is in the logs
7. Sign off this patch :-D
Signed-off-by: Tomás Cohen Arazi <[email protected]>1 parent 7e73610 commit 5277fd8
File tree
4 files changed
+31
-2
lines changed- code/web
- release_notes
- sys
- DBMaintenance/version_updates
- SolrConnector
4 files changed
+31
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
105 | 115 | | |
106 | 116 | | |
107 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
1335 | 1339 | | |
1336 | 1340 | | |
1337 | 1341 | | |
| |||
1347 | 1351 | | |
1348 | 1352 | | |
1349 | 1353 | | |
1350 | | - | |
| 1354 | + | |
1351 | 1355 | | |
1352 | 1356 | | |
1353 | 1357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
306 | 317 | | |
307 | 318 | | |
308 | 319 | | |
| |||
0 commit comments