@@ -412,7 +412,7 @@ public function createInternalCommand(string $dimensionsValues, bool $update = f
412412 if ($ update === true ) {
413413 $ this ->logger ->warning ('!!! Update Mode (Development) active! ' , LogEnvironment::fromMethodName (__METHOD__ ));
414414 } else {
415- $ dimensionsValuesArray = $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true , 512 ), $ postfix );
415+ $ dimensionsValuesArray = $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true ), $ postfix );
416416 if ($ this ->nodeIndexer ->getIndex ()->exists () === true ) {
417417 $ this ->logger ->warning (sprintf ('Deleted index with the same postfix (%s)! ' , $ postfix ), LogEnvironment::fromMethodName (__METHOD__ ));
418418 $ this ->nodeIndexer ->getIndex ()->delete ();
@@ -435,7 +435,7 @@ public function createInternalCommand(string $dimensionsValues, bool $update = f
435435 */
436436 public function buildWorkspaceInternalCommand (string $ workspace , string $ dimensionsValues , string $ postfix , int $ limit = null ): void
437437 {
438- $ dimensionsValuesArray = $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true , 512 ), $ postfix );
438+ $ dimensionsValuesArray = $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true ), $ postfix );
439439
440440 $ workspaceLogger = function ($ workspaceName , $ indexedNodes , $ dimensions ) {
441441 if ($ dimensions === []) {
@@ -464,7 +464,7 @@ public function buildWorkspaceInternalCommand(string $workspace, string $dimensi
464464 */
465465 public function refreshInternalCommand (string $ dimensionsValues , string $ postfix ): void
466466 {
467- $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true , 512 ), $ postfix );
467+ $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true ), $ postfix );
468468
469469 $ this ->logger ->info (vsprintf ('Refreshing index %s ' , [$ this ->nodeIndexer ->getIndexName ()]), LogEnvironment::fromMethodName (__METHOD__ ));
470470 $ this ->nodeIndexer ->getIndex ()->refresh ();
@@ -487,7 +487,7 @@ public function aliasInternalCommand(string $dimensionsValues, string $postfix,
487487 if ($ update === true ) {
488488 return ;
489489 }
490- $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true , 512 ), $ postfix );
490+ $ this ->configureNodeIndexer (json_decode ($ dimensionsValues , true ), $ postfix );
491491
492492 $ this ->logger ->info (vsprintf ('Update alias for index %s ' , [$ this ->nodeIndexer ->getIndexName ()]), LogEnvironment::fromMethodName (__METHOD__ ));
493493 $ this ->nodeIndexer ->updateIndexAlias ();
@@ -528,7 +528,7 @@ public function cleanupCommand(): void
528528 }
529529 } catch (ApiException $ exception ) {
530530 $ exception ->getResponse ()->getBody ()->rewind ();
531- $ response = json_decode ($ exception ->getResponse ()->getBody ()->getContents (), false , 512 );
531+ $ response = json_decode ($ exception ->getResponse ()->getBody ()->getContents (), false );
532532 $ message = sprintf ('Nothing removed. ElasticSearch responded with status %s ' , $ response ->status );
533533
534534 if (isset ($ response ->error ->type )) {
0 commit comments