From 6f3cf2bc5d4f37aaa89c1fa92b705efe9546444b Mon Sep 17 00:00:00 2001
From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Date: Thu, 5 Sep 2024 11:13:07 +0200
Subject: [PATCH 1/5] update_from_4.5.md: Update Solr config
---
docs/update_and_migration/from_4.5/update_from_4.5.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/update_and_migration/from_4.5/update_from_4.5.md b/docs/update_and_migration/from_4.5/update_from_4.5.md
index c38a98d482..1059a12634 100644
--- a/docs/update_and_migration/from_4.5/update_from_4.5.md
+++ b/docs/update_and_migration/from_4.5/update_from_4.5.md
@@ -413,6 +413,12 @@ The following migration example allows users with the `Editor` role to access th
values: []
```
+## Update Solr configuration
+
+Solr configuration changes with the addition of new features such as spellchecking.
+
+[Generate the new configuration files using `generate-solr-config.sh`](install_solr.md#continue-solr-configuration).
+
## Update Elasticsearch schema
Elasticsearch schema's templates change, for example, with the addition of new features such as spellchecking.
@@ -520,4 +526,4 @@ No additional steps needed.
## v4.6.10
-A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
\ No newline at end of file
+A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
From e93fb0cf19581dbc9c84852aa86eccd078f9ef4d Mon Sep 17 00:00:00 2001
From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Date: Thu, 12 Sep 2024 10:46:50 +0200
Subject: [PATCH 2/5] update_from_4.5.md: Detail Solr spellcheck component
---
.../from_4.5/update_from_4.5.md | 37 ++++++++++++++++++-
1 file changed, 35 insertions(+), 2 deletions(-)
diff --git a/docs/update_and_migration/from_4.5/update_from_4.5.md b/docs/update_and_migration/from_4.5/update_from_4.5.md
index 1059a12634..ff2ffd6bb0 100644
--- a/docs/update_and_migration/from_4.5/update_from_4.5.md
+++ b/docs/update_and_migration/from_4.5/update_from_4.5.md
@@ -415,9 +415,42 @@ The following migration example allows users with the `Editor` role to access th
## Update Solr configuration
-Solr configuration changes with the addition of new features such as spellchecking.
+Solr configuration changes with the addition spellchecking feature.
+
+Configure the `spellcheck` component:
+
+```xml
+
+
+ default
+ meta_content__text_t
+ solr.DirectSolrSpellChecker
+ internal
+ 0.5
+ 2
+ 1
+ 5
+ 4
+ 0.01
+
+
+```
+
+Add this `spellcheck` component to `/select`:
+
+```xml
+
+
+ spellcheck
+
+
+
+```
+
+!!! note
-[Generate the new configuration files using `generate-solr-config.sh`](install_solr.md#continue-solr-configuration).
+ You can [generate new Solr configuration files using `generate-solr-config.sh`](install_solr.md#continue-solr-configuration),
+ and compare with your current configuration to merge those `spellcheck` configurations.
## Update Elasticsearch schema
From e5640de2be40767c34b71774c264a3af2220b483 Mon Sep 17 00:00:00 2001
From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Date: Mon, 16 Sep 2024 12:03:56 +0200
Subject: [PATCH 3/5] Apply suggestions from code review
Co-authored-by: Vidar Langseid
---
docs/update_and_migration/from_4.5/update_from_4.5.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/update_and_migration/from_4.5/update_from_4.5.md b/docs/update_and_migration/from_4.5/update_from_4.5.md
index ff2ffd6bb0..eb46b17e0f 100644
--- a/docs/update_and_migration/from_4.5/update_from_4.5.md
+++ b/docs/update_and_migration/from_4.5/update_from_4.5.md
@@ -417,7 +417,7 @@ The following migration example allows users with the `Editor` role to access th
Solr configuration changes with the addition spellchecking feature.
-Configure the `spellcheck` component:
+Configure the `spellcheck` component in `solrconfig.xml`:
```xml
@@ -436,7 +436,7 @@ Configure the `spellcheck` component:
```
-Add this `spellcheck` component to `/select`:
+Add this `spellcheck` component to the `/select` request handler:
```xml
@@ -452,6 +452,8 @@ Add this `spellcheck` component to `/select`:
You can [generate new Solr configuration files using `generate-solr-config.sh`](install_solr.md#continue-solr-configuration),
and compare with your current configuration to merge those `spellcheck` configurations.
+Restart Solr for `solrconfig.xml` changes to take effect.
+
## Update Elasticsearch schema
Elasticsearch schema's templates change, for example, with the addition of new features such as spellchecking.
From 10e929678ca227e01e9b8e911027b3a828f59ecf Mon Sep 17 00:00:00 2001
From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Date: Tue, 17 Sep 2024 10:24:15 +0200
Subject: [PATCH 4/5] update_from_3.3.md: EOL@EOF
---
docs/update_and_migration/from_3.3/update_from_3.3.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/update_and_migration/from_3.3/update_from_3.3.md b/docs/update_and_migration/from_3.3/update_from_3.3.md
index aed320dc41..9802d61a8e 100644
--- a/docs/update_and_migration/from_3.3/update_from_3.3.md
+++ b/docs/update_and_migration/from_3.3/update_from_3.3.md
@@ -424,4 +424,4 @@ Run the following scripts:
### v3.3.40
-A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
\ No newline at end of file
+A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
From 5007f1f69fa2b7ed0e0b13ca10e2f2af858476a3 Mon Sep 17 00:00:00 2001
From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
Date: Tue, 17 Sep 2024 10:41:46 +0200
Subject: [PATCH 5/5] Apply suggestions from code review
Co-authored-by: julitafalcondusza <117284672+julitafalcondusza@users.noreply.github.com>
---
docs/update_and_migration/from_4.5/update_from_4.5.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/update_and_migration/from_4.5/update_from_4.5.md b/docs/update_and_migration/from_4.5/update_from_4.5.md
index 91dcade6f8..e81a503df2 100644
--- a/docs/update_and_migration/from_4.5/update_from_4.5.md
+++ b/docs/update_and_migration/from_4.5/update_from_4.5.md
@@ -415,7 +415,7 @@ The following migration example allows users with the `Editor` role to access th
## Update Solr configuration
-Solr configuration changes with the addition spellchecking feature.
+Solr configuration changes with the addition of spellchecking feature.
Configure the `spellcheck` component in `solrconfig.xml`:
@@ -450,7 +450,7 @@ Add this `spellcheck` component to the `/select` request handler:
!!! note
You can [generate new Solr configuration files using `generate-solr-config.sh`](install_solr.md#continue-solr-configuration),
- and compare with your current configuration to merge those `spellcheck` configurations.
+ and merge `spellcheck` configuration by comparing new files with your existing setup.
Restart Solr for `solrconfig.xml` changes to take effect.