Open sebiboga opened 2 years ago
for JMeter -- Linux commands
sudo ln -s /opt/apache-jmeter-5.4.1/bin/jmeter /usr/bin/jmeter sudo chown -R prfuser:prfuser /opt/apache-jmeter-5.4.1 sudo cp -r apache-jmeter-5.4.1 /opt/
RESTORE SOLR
Windows have JAVA installed
have JAVA_HOME defined
create Solr folder in C:\
download Apache Solr
https://solr.apache.org/downloads.html
move it to C:\Solr
add Environment variable
solr_home=C:\Solr\solr-8.8.1\server\solr
to start solr
in cmd run the command C:\Solr\solr-8.8.1\bin\solr.cmd start -p 8983 New Core name: tech
instance dir: C:\Solr\solr-8.8.1\server\solr\configsets\sample_techproducts_configs LINUX sudo apt install openjdk-11-jre-headless sudo apt install wget wget https://archive.apache.org/dist/lucene/solr/8.9.0/solr-8.9.0.tgz tar zxf solr-8.9.0.tgz cd ~/solr-8.9.0 bin/solr start bin/solr status
add inbound rules for port add outbound rules for port restart machine
create a new core sudo su - solr -c "/opt/solr/bin/solr create -c mycollection -n data_driven_schema_configs" RESTORE copiaza folderul C:\Solr\solr-8.8.1\server\solr\configsets\sample_techproducts_configs sterge fisierul core.properties copiaza folderul pe noua masina cu SOLR in UI, creaza un nou core seteaza instance_dir, exact folderul unde ai copiat folderul "sample_techproducts_configs "
create Solr folder in C:\ download Apache Solr move it to C:\Solr
add Environment variable solr_home=C:\Solr\solr-8.8.1\server\solr
to start solr
in cmd run the command C:\Solr\solr-8.8.1\bin\solr.cmd start -p 8983
New Core name: tech instance dir: C:\Solr\solr-8.8.1\server\solr\configsets\sample_techproducts_configs
cd C:\Solr\solr-8.8.1\example\exampledocs> java -jar -Dc=tech post.jar .xml java -Dc=tech -Dtype=text/csv -jar C:\Solr\solr-8.8.1\example\exampledocs\post.jar C:\Solr\solr-8.8.1\example\exampledocs*.csv java -Dc=tech -Dtype=application/json -jar C:\Solr\solr-8.8.1\example\exampledocs\post.jar C:\Solr\solr-8.8.1\example\exampledocs\.json
java -Dc=tech -Dtype=application/json -jar C:\Solr\solr-8.8.1\example\exampledocs\post.jar C:\Solr\solr-8.8.1\example\exampledocs\jobs.json
job_title job_link company company_full_name careers_link website logo contact email phone
location address
POST http://zimbor.go.ro:8983/solr/shaqodoon/update?_=1617366504771&commitWithin=1000&overwrite=true&wt=json Content-type: application/json
[{ "id":"2c676a30-26cf-4ae9-9e09-f5e628782204", "job_title":"Java Technical Lead", "job_link":"https://careers.endava.com/en/Explore-Locations/Central-Europe/Cluj-Napoca/Job-Details?locationid=11322&jobid=CLDRP-2097&jobtitle=Java-Technical-Lead", "company":"Endava", "country":"România", "city":"Cluj-Napoca"