Sorry, yes, 9.3.0. I found the problem, though. I needed to add "scripting" to 
the value of SOLR_MODULES in bin/solr.in.sh. That is, I changed this:

SOLR_MODULES=analysis-extras

to this:

SOLR_MODULES=analysis-extras,scripting

With that fix I was able to create the core without error.

Scott

-----Original Message-----
From: Ishan Chattopadhyaya <ichattopadhy...@gmail.com> 
Sent: Sunday, September 24, 2023 7:46 PM
To: users@solr.apache.org
Subject: Re: Error Creating Core Caused by: 
solr.scripting.xslt.XSLTResponseWriter

Do you mean Solr version 9.3.0?

On Mon, 25 Sept, 2023, 5:08 am Scott Hollenbeck,
<s...@musclecarresearch.com.invalid> wrote:

> I'm trying to set up an instance of solr server 9.0.3 on a single machine.
> I
> hjave it up and running, and I'm trying to create a core using the command
> line interface. The command fails, though:
>
> $ sudo -u solr ./solr create_core -c mcr-9 -d /tmp/mcr
>
> ERROR: Error from server at
>
> http://localhost:8983/solr/admin/cores?action=CREATE&name=mcr-9&instanceDir=
> mcr-9&wt=javabin&version=2
> <http://localhost:8983/solr/admin/cores?action=CREATE&name=mcr-9&instanceDir=mcr-9&wt=javabin&version=2>:
> Error CREATEing SolrCore 'mcr-9': Unable to
> create core [mcr-9] Caused by: solr.scripting.xslt.XSLTResponseWriter
>
> That class is described in the solrconfig.xml file that's in my data
> directory. Here's the definition:
>
>   <queryResponseWriter name="xslt"
> class="solr.scripting.xslt.XSLTResponseWriter">
>     <int name="xsltCacheLifetimeSeconds">5</int>
>   </queryResponseWriter>
>
> Can someone help me understand what failed here? Did I miss something in my
> server configuration?
>
> Thanks,
> Scott
>
>

Reply via email to