From 861007719e097971e970675e53dc8cc489a1f594 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Thu, 18 Jan 2024 18:08:39 +0100 Subject: [PATCH] Fix link to example in the readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df859a5..535dc66 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ See the [`ProductIndex` provided in the example](docs/example/src/Elasticsearch/ - `relationAttributes` allow to store just a reference, i.e. the ID of a Pimcore element, instead of the entire object in the index. - The mapping can either be an array defined without keys, in which case the Pimcore element's property will be indexed using the same name or a key-value pair if the property should be named differently in the index. **If a key-value pair is used, it is also possible to pass a function retrieving the Pimcore element and returning an arbitrary array.** This is very powerful and allows to implement almost any use case. Mind that it is also possible to mix both approaches, i.e. define some entries with a key and others without one. -See the [`ProductDocument` provided in the example](docs/example/src/Elasticsearch/Document/ProductDocument.php) for more details. +See the [`ProductIndexDocument` provided in the example](docs/example/src/Elasticsearch/Index/Product/Document/ProductIndexDocument.php) for more details. ## Configuration