Hello Community,
I am getting this error message in the response when I attempt to access req in
a script.
"msg":"Unable to invoke function processAdd in script: test-script.js:
TypeError: Can not extend/implement [class
org.apache.solr.request.SolrQueryRequestBase] because of
java.securit
I even tried using the line from the example verbatim and it throws the same
error (except with a real argument.
some_param = req.getParams().get("commit")
Is this a bug? It should be easy for anyone to reproduce.
From: Matthew Castrigno
Sent: Thursday, Novembe
I suppose not. The CoreContainer internally knows whether it has completed
or not but I don't see that it's exposed. It seems easy to support such a
feature.
~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley
On Wed, Nov 16, 2022 at 2:02 PM gnandre wrot
Hi All,
Is it possible to generate suggestions from multiple collections at the
same time? So I have let's say collections - c1 and c2 and both have their
own suggest component (with the same name - my_suggestions). Can I perform
a distributed search across these two suggesters ? The collection pa
I'm assuming you are using Solr 9 and running into this. Solr 9 enabled the
Java security manager by default which protects against a bunch of stuff
potentially.
One quick workaround is setting SOLR_SECURITY_MANAGER_ENABLED=false in
solr.in.sh or however you run Solr to disable the security manage
Thank you Kevin for your reply.
Yes I am running 9.0
I am looking for
SOLR_SECURITY_MANAGER_ENABLED
in solr.in.sh, solr.in.cmd or security.policy file but none of these files seem
to exist. Does the default install include these file or do I need to create
them? Where should they reside?
Than
SOLR_SECURITY_MANAGER_ENABLED=false
worked, thank you Kevin.
From: Matthew Castrigno
Sent: Thursday, November 17, 2022 2:46 PM
To: users@solr.apache.org
Subject: Re: Security error attempting to access req in updateProcessorScript
Thank you Kevin for your reply
I am attempting to write a script for the ScriptingUpdateProcessor. In the JSON
below I want to pull out the objects in the "Fields" array and create fields
for them based on the values provided in the object.
However, if I attempt to iterate over the fields in the solrDoc like this:
doc = cmd.so
CoreContainer has getLoadedCoreNames and getAllCoreNames methods so I
thought that I was all set but it wasn't working as expected.
I expected that getAllCoreNames would give all core names regardless of if
they are loaded or not but it was behaving just like getLoadedCoreNames
during the debuggin
Unfortunately, I am still on legacy mode and not cloud mode.
So, I can't take advantage of this feature :(
In the meantime, I have implemented the Solr plugin and it is working as
expected but the only issue is that it needs to be called in the context of
some core.
I wonder if we can reference co
10 matches
Mail list logo