Remote Solr setup

Hi,

I’m new to xwiki, we just acquired the XWiki Pro license and now I’m setting up the long-term/production instance.

I’m using the docker-compose way. To be future-proof I wanted to set it up with a split-off solr so that we have access to the monitoring part etc. but I’m struggling.

I’m running into multiple issues:

  1. The “docker-entrypoint.sh” in the three flavours (mariadb,mysql,postgres) is sed’ing the wrong parameter to integrate the INDEX_HOST/INDEX_PORT env variables, it’s trying to find and replace “solr.remote.url” instead of the “solr.remote.baseURL” that is in use now in xwiki.properties .
  2. The instructions in xwiki-docker/README.md at master · xwiki/xwiki-docker · GitHub are pointing to getting the config JAR from Index of /releases/org/xwiki/platform/xwiki-platform-search-solr-server-data but there is no release of that JAR since 12.2, it’s unclear to me if that is supposed to be still working with 16.5.0 .
    5 .
  3. I tried to refer to the instructions of https://extensions.xwiki.org/xwiki/bin/view/Extension/Solr%20Search%20API , section “Manual Install” , paragraph “16.2.0+” but it’s unclear to me how to get it working. I also see that compared to a test-instance that is running the embedded solr there’s one additional solr-core included called something like “extensions” that I don’t see mentioned in this list.

What am I missing ? Am I looking in the wrong places ?

Many thanks in advance for your help !

1 Like

Hello, you might be hitting one of the issues at Loading...

Indeed, the doc needs to be updated (it was contributed by a user). I see there’s now an xwiki-platform-search-solr-server-core-search artifact → Index of /releases/org/xwiki/platform/xwiki-platform-search-solr-server-core-search

I don’t have the full info for you as I’ve never set up a remote solr intance. I hope someone else can help you.

Thanks

Maybe XDOCKER-282: Update the process to use an external Solr instance by GridexX · Pull Request #37 · xwiki/xwiki-docker · GitHub can also help.