Skip to content

Does ParallelExecution omit PostBigRequest? #1014

Answered by thomascorthals
leuchtdiode asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Alex,

This has been fixed in Solarium 6.2.5.

You can test it by modifying the ParallelExecution example.

<?php

require_once(__DIR__.'/init.php');

htmlHeader();

// create a client instance and autoload the customize request plugin
$client = new Solarium\Client($adapter, $eventDispatcher, $config);
$parallel = $client->getPlugin('parallelexecution');
$client->getPlugin('postbigrequest');

// create two queries to execute
$queryInStock = $client->createSelect()->setQuery('inStock:true');
$queryLowPrice = $client->createSelect()->setQuery('price:[1 TO 30]');

// add a huge filterquery to create a very long query string
$fq = '-cat:'.str_repeat(implode('', range('a', 'z')), 1000);
$query…

Replies: 5 comments 10 replies

This comment has been hidden.

@thomascorthals
Comment options

@leuchtdiode
Comment options

@thomascorthals
Comment options

@leuchtdiode
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by thomascorthals
Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

@thomascorthals
Comment options

@leuchtdiode
Comment options

@thomascorthals
Comment options

@thomascorthals
Comment options

This comment was marked as off-topic.

@thomascorthals
Comment options

@leuchtdiode
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants