Skip to content

Commit 3666a83

Browse files
committed
BUGFIX: Fix skipping of mapping when indexing is set to false
1 parent da8a7ea commit 3666a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Driver/Version6/Mapping/NodeTypeMappingBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function buildMappingInformation(Index $index): MappingCollection
6767

6868
foreach ($nodeType->getProperties() as $propertyName => $propertyConfiguration) {
6969
// This property is configured to not be index, so do not add a mapping for it
70-
if (isset($propertyConfiguration['search']['indexing']) && $propertyConfiguration['search']['indexing'] === false) {
70+
if (isset($propertyConfiguration['search']) && array_key_exists('indexing', $propertyConfiguration['search']) && $propertyConfiguration['search']['indexing'] === false) {
7171
continue;
7272
}
7373

0 commit comments

Comments
 (0)