Commit 236159ca authored by Jonas Waeber's avatar Jonas Waeber
Browse files

reindex script and update templates

parent a080280c
......@@ -59,6 +59,7 @@
"path_match": "*.de",
"mapping": {
"type": "text",
"analyzer": "german",
"fields": {
"filter": {
"type": "keyword",
......@@ -73,6 +74,7 @@
"path_match": "*.fr",
"mapping": {
"type": "text",
"analyzer": "french",
"fields": {
"filter": {
"type": "keyword",
......@@ -87,6 +89,7 @@
"path_match": "*.it",
"mapping": {
"type": "text",
"analyzer": "italian",
"fields": {
"filter": {
"type": "keyword",
......
......@@ -42,6 +42,7 @@
"path_match": "*.de",
"mapping": {
"type": "text",
"analyzer": "german",
"fields": {
"filter": {
"type": "keyword",
......@@ -56,6 +57,7 @@
"path_match": "*.fr",
"mapping": {
"type": "text",
"analyzer": "french",
"fields": {
"filter": {
"type": "keyword",
......@@ -70,6 +72,7 @@
"path_match": "*.it",
"mapping": {
"type": "text",
"analyzer": "italian",
"fields": {
"filter": {
"type": "keyword",
......
......@@ -42,6 +42,7 @@
"path_match": "*.de",
"mapping": {
"type": "text",
"analyzer": "german",
"fields": {
"filter": {
"type": "keyword",
......@@ -56,6 +57,7 @@
"path_match": "*.fr",
"mapping": {
"type": "text",
"analyzer": "french",
"fields": {
"filter": {
"type": "keyword",
......@@ -70,6 +72,7 @@
"path_match": "*.it",
"mapping": {
"type": "text",
"analyzer": "italian",
"fields": {
"filter": {
"type": "keyword",
......
curl -X POST "localhost:8080/_reindex?pretty" -H 'Content-Type: application/json' -d'
{
"source": {
"index": "institutions-v5"
},
"dest": {
"index": "institutions-v6"
}
}
'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment