Overall super neat set of libraries!
When calling \MacFJA\RediSearch\Integration\ObjectWorker::isIndexInSync code appears to throw the following exception:
TypeError
array_map(): Argument #2 ($array) must be of type array, null given
VENDORPATH/macfja/redisearch/src/Redis/Response/InfoResponse.php at line 124
Any suggestions?
Also is there any built in functionality to detect index changes and if an index was changed drop the old index and recreate a new index with the new definition? Was going to write some functionality in CI/CD to apply these changes on startup but it appears this function fails for me. I dug thru a bit it appears "fields" isn't in $this->rawLines but I'm uncertain to why.