Update solr schema and import script
1. Update scehma.xml and tags-data-config.xml in the corresponding core.
2. Check in the code in git hub.
3. Open remote desktop
4. Open a command prompt and go to C:/Users/shareuser/Desktop and run update_solr_config.bat newsfeed (core name)
5. Access solr from browser. Go to Core Admin -> select the core and press Reload.
6. Select the core from pull down, go to dataimport and select delta-import
!!! Please uncheck the clean button!!!
7. Select full-import !!! Please uncheck the clean button!!!
To deploy the changes to test / production server,
1. ssh to test server
ssh ec2-user@52.1.219.124
2. Check in the code in git hub.
3. Open remote desktop
4. Open a command prompt and go to C:/Users/shareuser/Desktop and run update_solr_config.bat newsfeed (core name)
5. Access solr from browser. Go to Core Admin -> select the core and press Reload.
6. Select the core from pull down, go to dataimport and select delta-import
!!! Please uncheck the clean button!!!
7. Select full-import !!! Please uncheck the clean button!!!
To deploy the changes to test / production server,
1. ssh to test server
ssh ec2-user@52.1.219.124
2. cd source/solr
git --git-dir=/home/ec2-user/source/git/solr/.git/ pull
3. [Upload config]
cloud-scripts/configure_cluster.sh -c k7Z5AmmO -u -C newsfeed
4. [Deploy server files and restart server] //no need to run this command if we don't have jars to update.
cloud-scripts/configure_cluster.sh -c k7Z5AmmO -r awstest -d -C newsfeed
Comments