Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ jobs:
ref: branch_9_11
path: lucene-solr

- name: Checkout solr 10.0
- name: Checkout solr 10.1
if: matrix.solr == 10
uses: actions/checkout@v6
with:
repository: apache/solr
ref: branch_10_0
ref: branch_10_1
path: lucene-solr

- name: Start Solr ${{ matrix.solr }} in ${{ matrix.mode }} mode
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^10.5",
"rawr/phpunit-data-provider": "^3.3",
"roave/security-advisories": "dev-master",
"spomky-labs/cbor-php": "^3.1",
"symfony/event-dispatcher": "^5.0 || ^6.0 || ^7.0 || ^8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/execute_all.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
];

// @todo Update Luke response parser for changes in SOLR-8127
if (9 === $solrVersion) {
if (9 <= $solrVersion) {
$skipForCloud[] = '2.11.1-luke-query-index.php';
$skipForCloud[] = '2.11.2-luke-query-all-fields.php';
$skipForCloud[] = '2.11.2.1-luke-query-field-details.php';
Expand Down
2 changes: 2 additions & 0 deletions tests/Integration/AbstractTechproductsTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4629,6 +4629,8 @@ public function testExtractIntoDocument(bool $usePostBigExtractRequestPlugin): v

$extract = self::$client->createExtract();
$extract->setUprefix('attr_');
// defaults to "ignore_" in solrconfig.xml but ignored fields throw NPE in Solr 10.1 (SOLR-18627)
$extract->addFieldMapping('div', 'attr_div');
$extract->setCommit(true);
$extract->setCommitWithin(0);
$extract->setOmitHeader(false);
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/Fixtures/conf/schema9.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/manage
index 190214aebad..7a76a28276a 100644
--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema.xml
+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema.xml
@@ -118,7 +118,9 @@
@@ -119,7 +119,9 @@
<!-- points to the root document of a block of nested documents. Required for nested
document support, may be removed otherwise
-->
Expand All @@ -13,7 +13,7 @@ index 190214aebad..7a76a28276a 100644

<!-- Only remove the "id" field if you have a very good reason to. While not strictly
required, it is highly recommended. A <uniqueKey> is present in almost all Solr
@@ -218,6 +220,7 @@
@@ -219,6 +221,7 @@

<dynamicField name="random_*" type="random"/>
<dynamicField name="ignored_*" type="ignored"/>
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/Fixtures/conf/solrconf10.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrco
index 17d07d3c23c..d130a823f00 100644
--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml
+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml
@@ -674,7 +674,6 @@
@@ -675,7 +675,6 @@
startup="lazy"
class="solr.extraction.ExtractingRequestHandler" >
- <!-- Assuming user has started a Tika Server locally -->
Expand All @@ -11,7 +11,7 @@ index 17d07d3c23c..d130a823f00 100644

<lst name="defaults">
<str name="lowernames">true</str>
@@ -698,6 +698,39 @@
@@ -699,6 +698,39 @@
<int name="xsltCacheLifetimeSeconds">5</int>
</requestHandler>

Expand Down