Skip to content
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

set [withNoContent] error #10

Closed
zjttfs opened this issue Jul 28, 2021 · 2 comments
Closed

set [withNoContent] error #10

zjttfs opened this issue Jul 28, 2021 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@zjttfs
Copy link

zjttfs commented Jul 28, 2021

success

$search = new \MacFJA\RediSearch\Search($client);

        $results = $search
            ->withIndex('video')
            ->withQuery('骑士')
            ->withLanguage('chinese')
            ->search();
        print_r($results);

retrun:

5

error

$search = new \MacFJA\RediSearch\Search($client);
$results = $search
->withIndex('video')
->withQuery('骑士')
->withLanguage('chinese')
->withNoContent() //add
->search();

return:

assert(): assert(is_array($rawData)) failed

file : \vendor\macfja\redisearch\src\Search.php
line: 454

@MacFJA
Copy link
Owner

MacFJA commented Jul 28, 2021

Hi,

Yes, this issue is the same than #9
I will work on it this week

Thanks for the detailed report

@MacFJA MacFJA added bug Something isn't working duplicate This issue or pull request already exists labels Jul 28, 2021
MacFJA added a commit that referenced this issue Aug 6, 2021
@MacFJA
Copy link
Owner

MacFJA commented Aug 13, 2021

@zjttfs Can you check is you still have the issue with dev-master ?

@MacFJA MacFJA closed this as completed Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants