Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
john-everden opened this issue Jul 6, 2023 · 0 comments

Comments

@john-everden
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant