protected function processDocuments(array $documents)
    {
        $processingInstructions = $this->configuration->getIndexFieldProcessingInstructionsConfiguration();
        if (count($processingInstructions) > 0) {
            $service = GeneralUtility::makeInstance(Service::class);
            $service->processDocuments($documents, $processingInstructions);
        }
    }
protected function processDocuments(array $documents)
    {
        $processingInstructions = $this->configuration->getIndexFieldProcessingInstructionsConfiguration();
        if (count($processingInstructions) > 0) {
            $service = GeneralUtility::makeInstance(Service::class);
            $service->processDocuments($documents, $processingInstructions);
        }
    }
protected function processDocuments ( array $ documents ) { $ processingInstructions = $ this -> configuration -> getIndexFieldProcessingInstructionsConfiguration ( ) ; if ( count ( $ processingInstructions ) > 0 ) { $ service = GeneralUtility :: makeInstance ( Service :: class ) ; $ service -> processDocuments ( $ documents , $ processingInstructions ) ; } }
Sends the given documents to the field processing service which takes
care of manipulating fields as defined in the field's configuration.

@param array $documents An array of documents to manipulate
Sends the given documents to the field processing service which takes care of manipulating fields as defined in the field s configuration .