|
@@ 185-192 (lines=8) @@
|
| 182 |
|
* @depends testPrepareContent |
| 183 |
|
* @dataProvider providerForTestFulltextSearchSolr7 |
| 184 |
|
*/ |
| 185 |
|
public function testFulltextContentSearchSolr7(string $searchString, array $expectedKeys, array $idMap): void |
| 186 |
|
{ |
| 187 |
|
if (false === $this->isSolrMajorVersionInRange('7.0.0', '8.0.0')) { |
| 188 |
|
$this->markTestSkipped('This test is only relevant for Solr >= 7'); |
| 189 |
|
} |
| 190 |
|
|
| 191 |
|
$this->doTestFulltextContentSearch($searchString, $expectedKeys, $idMap); |
| 192 |
|
} |
| 193 |
|
|
| 194 |
|
private function doTestFulltextContentSearch(string $searchString, array $expectedKeys, array $idMap): void |
| 195 |
|
{ |
|
@@ 215-222 (lines=8) @@
|
| 212 |
|
* @depends testPrepareContent |
| 213 |
|
* @dataProvider providerForTestFulltextSearchSolr7 |
| 214 |
|
*/ |
| 215 |
|
public function testFulltextLocationSearchSolr7($searchString, array $expectedKeys, array $idMap): void |
| 216 |
|
{ |
| 217 |
|
if (false === $this->isSolrMajorVersionInRange('7.0.0', '8.0.0')) { |
| 218 |
|
$this->markTestSkipped('This test is only relevant for Solr >= 7'); |
| 219 |
|
} |
| 220 |
|
|
| 221 |
|
$this->doTestFulltextLocationSearch($searchString, $expectedKeys, $idMap); |
| 222 |
|
} |
| 223 |
|
|
| 224 |
|
private function doTestFulltextLocationSearch($searchString, array $expectedKeys, array $idMap): void |
| 225 |
|
{ |