237 lines
6.1 KiB
Bash
237 lines
6.1 KiB
Bash
INDEX_ROOT="lawsoc"
|
|
#INDEX_DATE="2015-10-06"
|
|
INDEX_DATE=$(date +%Y-%m-%d)
|
|
INDEX_NAME="${INDEX_ROOT}_${INDEX_DATE}"
|
|
DETAIL_NAME="office_detail"
|
|
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"Claro Chambers",
|
|
" Bridge Street",
|
|
" Boroughbridge",
|
|
" York",
|
|
" North Yorkshire",
|
|
" YO51 9LD",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 61430 Boroughbridge",
|
|
"email": "info@fitz-law.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-1.394048",
|
|
"lat": "54.09637"
|
|
},
|
|
"name": "Fitzgerald-harts",
|
|
"solicitor_id": "388581",
|
|
"sra_id": "48330",
|
|
"tel": "01423 322312",
|
|
"type": "Recognised body law practice",
|
|
"web": ""
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"Nicholas House",
|
|
" River Front",
|
|
" Enfield",
|
|
" Middlesex",
|
|
" EN1 3TF",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 90602 ENFIELD",
|
|
"email": "enquiries@grahamfear.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-0.07570674",
|
|
"lat": "51.65239"
|
|
},
|
|
"name": "Graham Fear & Co",
|
|
"solicitor_id": "388451",
|
|
"sra_id": "48200",
|
|
"tel": "020 8363 3331",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://www.grahamfear.co.uk"
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"14-16 Wolverhampton Road",
|
|
" Cannock",
|
|
" Staffordshire",
|
|
" WS11 1AN",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 16090 Cannock",
|
|
"email": "info@gidsolicitors.com",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-2.030169",
|
|
"lat": "52.68791"
|
|
},
|
|
"name": "Gardner Iliff & Dowding",
|
|
"solicitor_id": "388031",
|
|
"sra_id": "47779",
|
|
"tel": "07970 5597505",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://www.gidsolicitors.com"
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"784 Harrow Road",
|
|
" Wembley",
|
|
" Middlesex",
|
|
" HA0 3EA",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 43256 SUDBURY HILL",
|
|
"email": "dyoung@amoryglass.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-0.3134206",
|
|
"lat": "51.55426"
|
|
},
|
|
"name": "Amory Glass & Co",
|
|
"solicitor_id": "388252",
|
|
"sra_id": "48001",
|
|
"tel": "020 8904 8236",
|
|
"type": "Recognised sole practitioner law practice",
|
|
"web": ""
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"Old Bank Chambers",
|
|
" High Street",
|
|
" Newtown",
|
|
" Powys",
|
|
" SY16 2NT",
|
|
" W"
|
|
],
|
|
"dx_address": "DX 29238 NEWTOWN",
|
|
"email": "kath.miller@midwales-legal.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-3.3146",
|
|
"lat": "52.51457"
|
|
},
|
|
"name": "Richard George & Jenkins",
|
|
"solicitor_id": "388110",
|
|
"sra_id": "47858",
|
|
"tel": "01686 626210",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://midwales-legal.co.uk"
|
|
}'
|
|
curl -XPOST http://localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"Astley House",
|
|
" 33 Notting Hill Gate",
|
|
" London",
|
|
" London",
|
|
" W11 3JQ",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 94204 NOTTING HILL",
|
|
"email": "russell@oliverfisher.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-0.1931798",
|
|
"lat": "51.50861"
|
|
},
|
|
"name": "Oliver Fisher",
|
|
"solicitor_id": "388563",
|
|
"sra_id": "48312",
|
|
"tel": "0203 219 0145",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://www.oliverfisher.co.uk"
|
|
}'
|
|
curl -XPOST http://localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"62 Pinner Green",
|
|
" Pinner",
|
|
" Middlesex",
|
|
" HA5 2AB",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 35610 Pinner",
|
|
"email": "info@keithflower.com",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-0.393345",
|
|
"lat": "51.59758"
|
|
},
|
|
"name": "Keith Flower & Co",
|
|
"solicitor_id": "388639",
|
|
"sra_id": "48388",
|
|
"tel": "020 8868 1277",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://www.keithflower.com"
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"Kingsgate House",
|
|
" Kingsgate",
|
|
" Waterdale",
|
|
" Doncaster",
|
|
" South Yorkshire",
|
|
" DN1 3JZ",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 12563 DONCASTER",
|
|
"email": "gareth.kite@foys.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-1.132004",
|
|
"lat": "53.52078"
|
|
},
|
|
"name": "Foys Solicitors",
|
|
"solicitor_id": "388780",
|
|
"sra_id": "48529",
|
|
"tel": "01302 327136",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://www.foys.co.uk"
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '{
|
|
"address": [
|
|
"Chester House",
|
|
" George Street",
|
|
" Oxford",
|
|
" Oxfordshire",
|
|
" OX1 2AY",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 4306 Oxford",
|
|
"email": "oxford@ferguson-bricknell.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-1.258874",
|
|
"lat": "51.75302"
|
|
},
|
|
"name": "Ferguson Bricknell",
|
|
"solicitor_id": "388490",
|
|
"sra_id": "48239",
|
|
"tel": "01865 241814",
|
|
"type": "Recognised body law practice",
|
|
"web": "http://www.ferguson-bricknell.co.uk"
|
|
}'
|
|
curl -XPOST localhost:9200/"${INDEX_NAME}/${DETAIL_NAME}"/ -d '
|
|
{
|
|
"address": [
|
|
"Equity House",
|
|
" 57 Hill Avenue",
|
|
" Amersham",
|
|
" Buckinghamshire",
|
|
" HP6 5BX",
|
|
" England"
|
|
],
|
|
"dx_address": "DX 400002 Amersham 3",
|
|
"email": "info@frlaw.co.uk",
|
|
"facilities": "[]",
|
|
"location": {
|
|
"lon": "-0.6057923",
|
|
"lat": "51.67559"
|
|
},
|
|
"name": "Fulton Robertson",
|
|
"solicitor_id": "388977",
|
|
"sra_id": "48726",
|
|
"tel": "01494 722326",
|
|
"type": "Recognised sole practitioner law practice",
|
|
"web": "http://www.frlaw.co.uk"
|
|
}'
|