Re: Anyone using more obscure features of SimplePostTool?

2023-05-17 Thread Ishan Chattopadhyaya
The post tool should be removed completely. On Wed, 17 May, 2023, 7:06 pm Gus Heck, wrote: > I suspect we could do without the webcrawl one too. Honestly these should > only be considered for demonstration or extremely small installations, and > anything not used in the tutorials could be cut IM

Re: Extract Module Broken due to java.security.AccessControlException: access denied (\"java.io.FilePermission\

2023-05-17 Thread Gus Heck
Maybe the fix is to sunset solr-cell and make an example using Tika properly? Or folks can contribute to JesterJ which has a way to find documents, run Tika to extract text and send the result to Solr, but if it crashes, it can skip the documents it already processed. The primary example

Re: Extract Module Broken due to java.security.AccessControlException: access denied (\"java.io.FilePermission\

2023-05-17 Thread Eric Pugh
I did discover that if I turned off the Security Manager via export SOLR_SECURITY_MANAGER_ENABLED=false Then everything worked. I noticed that there is a message about security manager being removed in the future. Wondering if the fix is just to tell folks if you are using extraction, to

Re: Anyone using more obscure features of SimplePostTool?

2023-05-17 Thread Gus Heck
I suspect we could do without the webcrawl one too. Honestly these should only be considered for demonstration or extremely small installations, and anything not used in the tutorials could be cut IMHO. On Wed, May 17, 2023 at 7:32 AM Eric Pugh wrote: > Hi all, > > As part of SOLR-6994 I’m migra

Re: Extract Module Broken due to java.security.AccessControlException: access denied (\"java.io.FilePermission\

2023-05-17 Thread Marcus Eagan
It’s early for me but by the looks of it, the problem is about lack of access to either a directory or a form. I appreciate the concern believe me but I don’t think it will be so bad. The error is truncated. Do you have another error that is complete? Best Marcus On Wed, May 17, 2023 at 3:38 AM

Anyone using more obscure features of SimplePostTool?

2023-05-17 Thread Eric Pugh
Hi all, As part of SOLR-6994 I’m migrating the SimplePostTool to be part of bin/solr commands. We document a number of example use cases: * JSON file: bin/solr post -url http://localhost:8983/wizbang/update events.json * XML files: bin/solr post -url http://localhost:8983/records/update artic

Extract Module Broken due to java.security.AccessControlException: access denied (\"java.io.FilePermission\

2023-05-17 Thread Eric Pugh
I was following the steps in https://solr.apache.org/guide/solr/latest/indexing-guide/indexing-with-tika.html as part of work on SOLR-6994 to start up the extraction module. Unfortunately I am getting back an error: { "error":{ "msg":"java.security.AccessControlException: access denied (\