SearchScale / dataimporthandler

Repository for DIH (Document Import Handler)
Apache License 2.0
67 stars 48 forks source link

Steps for offline installation #42

Open sajiljosephs opened 1 year ago

sajiljosephs commented 1 year ago

I could see the steps for installation is online with sha's for files and so on. I need to have the steps for offline installation.

chatman commented 1 year ago

For that, you can grab the jars and place in classpath manually, just like one would for any other plugin/jar.

On Wed, 7 Jun, 2023, 10:40 am sajiljosephs, @.***> wrote:

I could see the steps for installation is online with sha's for files and so on. I need to have the steps for offline installation.

— Reply to this email directly, view it on GitHub https://github.com/SearchScale/dataimporthandler/issues/42, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDCR5EVP5KFBNQEWSOMWMDXKAELFANCNFSM6AAAAAAY5J6L5A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sajiljosephs commented 1 year ago

Following the normal steps for plugins doesn't seems to work. Would be great if you can provide the exact steps with filenames on where to upload.

kaito-88 commented 1 year ago

I would love to get a precise installation guide for offline version as well!

What I have done so far: 1) Downloading the jar file and placing it in /opt/solr/modules/dataimporthandler/lib 2) Added a prostgresql.jar in the same folder for accessing the database (is it the corrct position?) 3) Set Env-Variable "SOLR_MODULES=dataimporthandler" (is the module-name correct?) 4) Set "-Denable.packages=true" (is that even neccessary for non-cloud variant?)

These are only the changes made for migrationg from Solr 8 to 9. The rest (like db-data-config.xml) was kept the same but needs to be created by other users when starting with DIH from scratch. --> What is missing/wrong? Please help!

chatman commented 1 year ago

You can place the DIH jar and postgresql jar in / server/solr-webapp/webapp/WEB-INF/lib

folder.

On Tue, 11 Jul, 2023, 6:39 pm kaito-88, @.***> wrote:

I would love to get a precise installation guide for offline version as well!

What I have done so far:

  1. Downloading the jar file and placing it in /opt/solr/modules/dataimporthandler/lib
  2. Added a prostgresql.jar in the same folder for accessing the database (is it the corrct position?)
  3. Set Env-Variable "SOLR_MODULES=dataimporthandler" (is the module-name correct?)
  4. Set "-Denable.packages=true" (is that even neccessary for non-cloud variant?) --> What is missing/wrong? Please help!

— Reply to this email directly, view it on GitHub https://github.com/SearchScale/dataimporthandler/issues/42#issuecomment-1630800428, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDCR5FFF2ROEXPQMGPPPVDXPVF7DANCNFSM6AAAAAAY5J6L5A . You are receiving this because you commented.Message ID: @.***>

chatman commented 1 year ago
/server/solr-webapp/webapp/WEB-INF/lib On Tue, 11 Jul, 2023, 7:02 pm Ishan Chattopadhyaya, < ***@***.***> wrote: > You can place the DIH jar and postgresql jar in / > server/solr-webapp/webapp/WEB-INF/lib > > folder. > > On Tue, 11 Jul, 2023, 6:39 pm kaito-88, ***@***.***> wrote: > >> I would love to get a precise installation guide for offline version as >> well! >> >> What I have done so far: >> >> 1. Downloading the jar file and placing it in >> /opt/solr/modules/dataimporthandler/lib >> 2. Added a prostgresql.jar in the same folder for accessing the >> database (is it the corrct position?) >> 3. Set Env-Variable "SOLR_MODULES=dataimporthandler" (is the >> module-name correct?) >> 4. Set "-Denable.packages=true" (is that even neccessary for >> non-cloud variant?) >> --> What is missing/wrong? Please help! >> >> — >> Reply to this email directly, view it on GitHub >> , >> or unsubscribe >> >> . >> You are receiving this because you commented.Message ID: >> ***@***.***> >> >
kaito-88 commented 1 year ago

Well the libs are getting loaded into classpath on startup, but it doesent seem to take effect. In the Solr Admin-View the "dataimport"-Tab is still gone... or wont it come back anyways? How is the import done otherwise? (In the readme only the Cloud import command is shown)

naddanki87 commented 2 weeks ago

@sajiljosephs & @chatman were you able to install manually DIH import handler through offline, it would be great if could share the steps please.

chatman commented 2 weeks ago

I'll take a look at this over the weekend. This week is very crazy. Thank you for your patience!

On Mon, 21 Oct, 2024, 7:18 pm Addanki Nageshwar, @.***> wrote:

@sajiljosephs https://github.com/sajiljosephs & @chatman https://github.com/chatman were you able to install manually DIH import handler through offline, it would be great if could share the steps please.

— Reply to this email directly, view it on GitHub https://github.com/SearchScale/dataimporthandler/issues/42#issuecomment-2426738015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDCR5EV5IIVS3MBOGBSXPLZ4UAZJAVCNFSM6AAAAABQKHFXBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRWG4ZTQMBRGU . You are receiving this because you were mentioned.Message ID: @.***>