File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
11
11
- Summarize Search option enabled by default (without possibility to disable it) ([ Issue #26 ] )
12
12
- Highlight Search option enabled by default (without possibility to disable it) ([ Issue #26 ] )
13
+ - Fix error when parsing response from Search with NOCONTENT flag
13
14
14
15
## [ 2.1.0]
15
16
Original file line number Diff line number Diff line change @@ -327,7 +327,9 @@ public function parseResponse($data)
327
327
$ chunkSize = 2 // Hash + fields
328
328
+ (true === $ useScores ? 1 : 0 )
329
329
+ (true === $ usePayloads ? 1 : 0 )
330
- + (true === $ useSortKeys ? 1 : 0 );
330
+ + (true === $ useSortKeys ? 1 : 0 )
331
+ - (true === $ noContent ? 1 : 0 )
332
+ ;
331
333
332
334
$ documents = array_chunk ($ data , $ chunkSize );
333
335
You can’t perform that action at this time.
0 commit comments