|  |  | @@ -47,7 +47,8 @@ Import() | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | docker exec -it solr bin/solr delete -c $core | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | docker exec -it solr solr create_core -c $core -d custom | 
		
	
		
			
			|  |  |  | #docker exec -it solr solr create_core -c $core -d custom | 
		
	
		
			
			|  |  |  | docker exec -it solr solr create_core -c $core | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | #docker exec -ti --user=solr solr bash -c "cp -r /opt/solr/example/files/conf/* /var/solr/data/$core/conf/" | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
			|  |  | @@ -55,12 +56,12 @@ Import() | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | sleep 30 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | docker run --rm -v "$directory/$location:/$core" --network=host solr:8.11.1 post -c $core /$core | 
		
	
		
			
			|  |  |  | docker run --rm -v "$directory/$location:/$core" --network=host solr:latest post -c $core /$core | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | Import_recursive() | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | docker run --rm -v "$directory/$subdirectory:/$core" --network=host solr:8.11.1 post -c $core /$core | 
		
	
		
			
			|  |  |  | docker run --rm -v "$directory/$subdirectory:/$core" --network=host solr:latest post -c $core /$core | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | ############################################################ | 
		
	
		
			
			|  |  |  | ############################################################ | 
		
	
	
		
			
			|  |  | @@ -83,7 +84,8 @@ while getopts ":hlimzaespxdw" option; do | 
		
	
		
			
			|  |  |  | z) # index all | 
		
	
		
			
			|  |  |  | core="all" | 
		
	
		
			
			|  |  |  | docker exec -it solr bin/solr delete -c $core | 
		
	
		
			
			|  |  |  | docker exec -it solr solr create_core -c $core -d custom | 
		
	
		
			
			|  |  |  | #docker exec -it solr solr create_core -c $core -d custom | 
		
	
		
			
			|  |  |  | docker exec -it solr solr create_core -c $core | 
		
	
		
			
			|  |  |  | location="data/POP_Dataset_2022" | 
		
	
		
			
			|  |  |  | for subdirectory in $location/*/ | 
		
	
		
			
			|  |  |  | do |