Re: docker arguments

2023-03-18 Thread dmitri maziuk
On 2023-03-18 12:17 PM, Tim Clarke wrote: Presumably that would be the CLASSPATH inside the docker image and/or the libraries available within the image? I'd have to find out how to check that. Not really a question for here, but does a docker image have a source to check? I can't tell you ab

Re: docker arguments

2023-03-18 Thread Tim Clarke
"docker run -d -v "/home/timc/dev//solrdata:/var/solr" -p 8983:8983 --name my_solr solr solr-precreate gettingstarted -e schemaless -Dsolr.modules=extraction" docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3eebcc1a2b25

Re: docker arguments

2023-03-18 Thread Shawn Heisey
On 3/18/23 07:34, Tim Clarke wrote: Hmmm, I may have made progress by passing the arguments at the "docker run" stage: But when the curl command is issued per to add the request handler, I receive this reply: "errorMessages":[" Error loading class 'solr.extraction.ExtractingRequest

Re: docker arguments

2023-03-18 Thread Tim Clarke
Presumably that would be the CLASSPATH inside the docker image and/or the libraries available within the image? I'd have to find out how to check that. Not really a question for here, but does a docker image have a source to check? Tim On Sat, 18 Mar 2023 at 16:06, dmitri maziuk wrote: > On 202

Re: docker arguments

2023-03-18 Thread dmitri maziuk
On 2023-03-18 8:34 AM, Tim Clarke wrote: errorMessages=[ Error loading class 'solr.extraction.ExtractingRequestHandler']}], \n"], It's not in CLASSPATH presumably. https://solr.apache.org/guide/8_11/uploading-data-with-solr-cell-using-apache-tika.html#configuring-the-extractingrequesthandler

Re: Partial highlighting problem in Solr

2023-03-18 Thread Mikhail Khludnev
I might be wrong, but my understanding is: Token filters don't change offsets, but only a tokenizer can change offsets that's expected in highlighting. So, it seems like NGramTokenizerFactory is an answer, however it doesn't allow to tokenize by whitespace or combine it with a whitespace tokenizer

Re: docker arguments

2023-03-18 Thread Tim Clarke
Hmmm, I may have made progress by passing the arguments at the "docker run" stage: But when the curl command is issued per to add the request handler, I receive this reply: timc@Debian$ curl -X POST -H 'Content-type:application/json' -d '{ "add-requesthandler": { "name": "/update/extract",

docker arguments

2023-03-18 Thread Tim Clarke
Am new to solr and docker, but per https://solr.apache.org/guide/solr/latest/indexing-guide/indexing-with-tika.html I need to pass arguments at some point to solr: bin/solr start -e schemaless -Dsolr.modules=extraction do I try to do that at "docker run" or "docker start" or once the cont