mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS add note to changelog for Solr changes (#9576)
* DOCS add note to changelog for Solr changes
This commit is contained in:
parent
7e58e909a0
commit
12a4c006e7
@ -5,6 +5,7 @@
|
|||||||
* [MySQL tables are auto-converted from MyISAM to InnoDB](#myisam)
|
* [MySQL tables are auto-converted from MyISAM to InnoDB](#myisam)
|
||||||
* [Editing files directly in the insert-media modal](#in-modal-editing)
|
* [Editing files directly in the insert-media modal](#in-modal-editing)
|
||||||
* [MIME Type validation now a core module](#mime-validator)
|
* [MIME Type validation now a core module](#mime-validator)
|
||||||
|
* [Solr no longer indexes draft/restricted content](#solr-updates)
|
||||||
|
|
||||||
## MySQL tables are auto-converted from MyISAM to InnoDB {#myisam}
|
## MySQL tables are auto-converted from MyISAM to InnoDB {#myisam}
|
||||||
|
|
||||||
@ -86,6 +87,18 @@ install `silverstripe/mimevalidator` when they upgrade to 4.6.0.
|
|||||||
Read [Allowed file types](Developer_Guides/Files/Allowed_file_types) in the
|
Read [Allowed file types](Developer_Guides/Files/Allowed_file_types) in the
|
||||||
Silverstripe CMS doc for all the details.
|
Silverstripe CMS doc for all the details.
|
||||||
|
|
||||||
|
## Solr no longer indexes draft/restricted content {#solr-updates}
|
||||||
|
|
||||||
|
At the time of this release a new version of the popular [silverstripe/fulltextsearch module](https://github.com/silverstripe/silverstripe-fulltextsearch) is also available, introducing more secure defaults. Most notably, draft and restricted content will no longer be indexed by default, due to a `canView()` check being performed against an anonymous user prior to (re)indexing. Restricted content means that it has a permission level of either 'Logged-in users' or 'Only these groups'.
|
||||||
|
|
||||||
|
If your project uses this module, after upgrading your website, ensure that you run the `Solr_Reindex` task on your production environment to remove previously indexed content that should no longer be there.
|
||||||
|
|
||||||
|
If your website requires draft or restricted content to be indexed, you can opt-out of the new secure defaults on a per-model basis.
|
||||||
|
|
||||||
|
This is a great opportunity to make sure that any custom indexes/search controllers in your project are correctly filtering results based on permissions and search visibility, which you can now achieve via a unified method (see `SilverStripe\FullTextSearch\Search\Services\SearchableService::isSearchable()`.)
|
||||||
|
|
||||||
|
The [silverstripe/fulltextsearch module readme provides additional information](https://github.com/silverstripe/silverstripe-fulltextsearch).
|
||||||
|
|
||||||
|
|
||||||
## Regressions
|
## Regressions
|
||||||
|
|
||||||
@ -95,4 +108,3 @@ Silverstripe CMS doc for all the details.
|
|||||||
<!--- Changes below this line will be automatically regenerated -->
|
<!--- Changes below this line will be automatically regenerated -->
|
||||||
|
|
||||||
<!--- Changes above this line will be automatically regenerated -->
|
<!--- Changes above this line will be automatically regenerated -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user