Commit e2fcb9a3 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch 'development' into 'master'

Development

See merge request !1882
parents 8ccd9358 634dac61
......@@ -32,7 +32,7 @@ resources:
cpu: 500m
memory: 500M
podDisruptionBudget:
enabled: true
enabled: false
minAvailable: 1
maxUnavailable:
podAnnotations:
......
......@@ -9,7 +9,7 @@ hpa:
maxReplicas: 100
podDisruptionBudget:
enabled: true
minAvailable: 3
minAvailable: 1
maxUnavailable:
podAnnotations:
prometheus.io/scrape: "true"
......
......@@ -39,7 +39,7 @@ class Yacy extends Searchengine
$this->engine->{"display-name"}, $this->engine->homepage,
$this->counter
);
}
}
}
} catch (\Exception $e) {
......@@ -48,4 +48,29 @@ class Yacy extends Searchengine
return;
}
}
public function getNext(\App\MetaGer $metager, $result)
{
try{
$resultCount = 0;
$content = json_decode($result, true);
$content = $content["channels"];
foreach ($content as $channel) {
$items = $channel["items"];
$resultCount += sizeof($items);
}
if($resultCount > 0){
$engine = clone $this->engine;
$engine->{"get-parameter"}->startRecord += 10;
$next = new Yacy($this->name, $engine, $metager);
$this->next = $next;
}
} catch (\Exception $e) {
Log::error("A problem occurred parsing results from $this->name:");
Log::error($e->getMessage());
return;
}
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="100"
height="100"
viewBox="0 0 26.458333 26.458334"
version="1.1"
id="svg1527">
<defs
id="defs1521" />
<metadata
id="metadata1524">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
id="g1553"
transform="matrix(0,0.96618099,-0.96618099,0,17.450484,5.2725179)">
<rect
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.169767"
id="rect1549"
width="3.3683863"
height="19.284014"
x="6.1881948"
y="-5.4169307"
ry="0.87983829"
transform="rotate(45)" />
<rect
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.169767"
id="rect1551"
width="3.3683863"
height="19.284014"
x="2.0485444"
y="6.1881928"
ry="0.73906392"
transform="rotate(-45)" />
</g>
<g
id="g1563"
transform="matrix(0,0.97738665,-0.97738665,0,27.065853,5.1802376)">
<rect
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.169767"
id="rect1559"
width="3.3683863"
height="19.284014"
x="6.1881948"
y="-5.4169307"
ry="0.87983829"
transform="rotate(45)" />
<rect
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.169767"
id="rect1561"
width="3.3683863"
height="19.284014"
x="2.0485444"
y="6.1881928"
ry="0.73906392"
transform="rotate(-45)" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="100"
height="100"
viewBox="0 0 26.458336 26.458334"
version="1.1"
id="svg8">
<defs
id="defs2" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
id="g865"
transform="matrix(1.7823274,0,0,1.7823274,-14.048044,-9.928491)">
<rect
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.09525"
id="rect10"
width="1.8898809"
height="10.819569"
x="-1.5343771"
y="12.375559"
ry="0.82120901"
transform="rotate(-45)" />
<rect
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.09525"
id="rect36"
width="1.8898809"
height="10.819569"
x="-23.195127"
y="-1.5343771"
ry="0.82120901"
transform="rotate(-135)" />
</g>
</g>
</svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment