Skip to content
Snippets Groups Projects
Commit 29f230d0 authored by Gael PICOT's avatar Gael PICOT
Browse files

documentation téchnique Ok

parent 557c8504
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ function paralelle(HalRequestIterator $a, HalRequestIterator $b, array $fields,
foreach($files as $key => $file) fwrite($file, "\xEF\xBB\xBF");
// itération sur chaque résultat document renvoyer par la reuquête a
foreach($a as $doc_a) {
// itération jusqu'à trouver le document courant dans la requête b ou atteindre la fin d'une requête
while(true) {
if(!$b->valid()) break;
$doc_b = $b->current();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment