Classes/Driver/AbstractIndexerDriver.php
protected function isFulltextRoot(NodeInterface $node): bool
    {
        if ($node->getNodeType()->hasConfiguration('search')) {
            $elasticSearchSettingsForNode = $node->getNodeType()->getConfiguration('search');
            if (isset($elasticSearchSettingsForNode['fulltext']['isRoot']) && $elasticSearchSettingsForNode['fulltext']['isRoot'] === true) {
                return true;
            }
        }

        return false;
    }
protected function isFulltextRoot(NodeInterface $node): bool
    {
        if ($node->getNodeType()->hasConfiguration('search')) {
            $elasticSearchSettingsForNode = $node->getNodeType()->getConfiguration('search');
            if (isset($elasticSearchSettingsForNode['fulltext']['isRoot']) && $elasticSearchSettingsForNode['fulltext']['isRoot'] === true) {
                return true;
            }
        }

        return false;
    }
protected function isFulltextRoot ( NodeInterface $ node ) : bool { if ( $ node -> getNodeType ( ) -> hasConfiguration ( 'search' ) ) { $ elasticSearchSettingsForNode = $ node -> getNodeType ( ) -> getConfiguration ( 'search' ) ; if ( isset ( $ elasticSearchSettingsForNode [ 'fulltext' ] [ 'isRoot' ] ) && $ elasticSearchSettingsForNode [ 'fulltext' ] [ 'isRoot' ] === true ) { return true ; } } return false ; }
Whether the node is configured as fulltext root.

@param NodeInterface $node
@return bool
Whether the node is configured as fulltext root .