We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f066b52 + 3948505 commit afe788bCopy full SHA for afe788b
1 file changed
docs/en/4-0-upgrade-guide.rst
@@ -14,3 +14,22 @@ Breaking Changes
14
* ``Query::isEagerLoaded()``, and ``Query::eagerLoaded()`` were removed.
15
Previously these methods were inherited from ``QueryTrait`` but served no
16
purpose here.
17
+
18
19
+Indexes
20
+======
21
22
+IndexRegistry has been deprecated.
23
24
+Old code example::
25
26
+ use Cake\ElasticSearch\IndexRegistry;
27
28
+ $articles = IndexRegistry::get('Articles');
29
30
31
+New code example::
32
33
+ use Cake\Datasource\FactoryLocator;
34
35
+ $articles = FactoryLocator::get('ElasticSearch')->get('Articles');
0 commit comments