Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/update_and_migration/from_3.3/update_from_3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
A command to deal with duplicated database entries, as reported in [IBX-8562](https://issues.ibexa.co/browse/IBX-8562), will be available soon.
41 changes: 41 additions & 0 deletions docs/update_and_migration/from_4.5/update_from_4.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,47 @@ The following migration example allows users with the `Editor` role to access th
values: []
```

## Update Solr configuration

Solr configuration changes with the addition of spellchecking feature.

Configure the `spellcheck` component in `solrconfig.xml`:

```xml
<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
<lst name="spellchecker">
<str name="name">default</str>
<str name="field">meta_content__text_t</str>
<str name="classname">solr.DirectSolrSpellChecker</str>
<str name="distanceMeasure">internal</str>
<float name="accuracy">0.5</float>
<int name="maxEdits">2</int>
<int name="minPrefix">1</int>
<int name="maxInspections">5</int>
<int name="minQueryLength">4</int>
<float name="maxQueryFrequency">0.01</float>
</lst>
</searchComponent>
```

Add this `spellcheck` component to the `/select` request handler:

```xml
<requestHandler name="/select" class="solr.SearchHandler">
<arr name="last-components">
<str>spellcheck</str>
</arr>
<!-- […] -->
</requestHandler>
```

!!! note

You can [generate new Solr configuration files using `generate-solr-config.sh`](install_solr.md#continue-solr-configuration),
and merge `spellcheck` configuration by comparing new files with your existing setup.

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.
Expand Down