Skip to content

\MacFJA\RediSearch\Integration\ObjectWorker::isIndexInSync Exception #2

@john-everden

Description

@john-everden

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions