How to update solr.xml in embedded solr, or update solr config properties

Hello

I’m trying to upgrade solr.xml in the root folder of /solr

I’m using the solr embedded in XWiki

I wanted to upgrade the maxBooleanClauses for the “search” core from 1024 to “2048”

I modified it directly in solr/search/conf/solrconfig.xml

But when starting XWiki it said

2025-06-07 19:27:49,251 [coreLoadExecutor-13-thread-1] WARN  o.a.s.c.SolrConfig             - solrconfig.xml: <maxBooleanClauses> of 2048 is greater than global limit of 1024 and will have no effect set 'maxBooleanClauses' in solr.xml to increase global limit 

So, I tried instead to upgrade solr/solr.xml with

<solr>
  <int name="maxBooleanClauses">2048</int>
  <logging>
    <str name="enabled">false</str>
  </logging>
</solr>

But on XWiki start, the content of this files is automatically erased and replaces with

<solr><logging><str name="enabled">false</str></logging></solr>

I’m using XWiki 15.10.15

Thank you for any helps

Regards