From 0323d4cb44e8f7ae80f0ef1f404659111e8dd19a Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 28 Jul 2023 16:13:26 +0800 Subject: [PATCH] add svc --- datatypes/es/client.json | 26 -------- datatypes/es/non-choice-questions.json | 38 ----------- datatypes/es/question-subscription.json | 83 ------------------------- datatypes/es/question-tags.json | 18 ------ datatypes/es/question-topics.json | 17 ----- datatypes/es/question.json | 54 ---------------- datatypes/es/user2.json | 68 -------------------- 7 files changed, 304 deletions(-) delete mode 100644 datatypes/es/client.json delete mode 100644 datatypes/es/non-choice-questions.json delete mode 100644 datatypes/es/question-subscription.json delete mode 100644 datatypes/es/question-tags.json delete mode 100644 datatypes/es/question-topics.json delete mode 100644 datatypes/es/question.json delete mode 100644 datatypes/es/user2.json diff --git a/datatypes/es/client.json b/datatypes/es/client.json deleted file mode 100644 index 8e0366a..0000000 --- a/datatypes/es/client.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "settings": { - "number_of_shards": 3, - "number_of_replicas": 1, - "analysis": { - "normalizer": { - "lowercase": { - "type": "custom", - "filter": [ - "lowercase" - ] - } - } - } - }, - "mappings": { - "properties": { - "clientId": { - "type": "text" - }, - "name": { - "type": "text" - } - } - } -} \ No newline at end of file diff --git a/datatypes/es/non-choice-questions.json b/datatypes/es/non-choice-questions.json deleted file mode 100644 index ece69c4..0000000 --- a/datatypes/es/non-choice-questions.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "settings": { - "index": { - "number_of_shards": 3, - "number_of_replicas": 1, - "sort.field": "sequenceNumber", - "sort.order": "asc" - } - }, - "mappings": { - "properties": { - "questionId": { - "type": "text" - }, - "sequenceNumber": { - "type": "long" - }, - "name": { - "type": "text" - }, - "tags": { - "type": "keyword" - }, - "clients": { - "type": "keyword" - }, - "topic": { - "type": "keyword" - }, - "difficulty": { - "type": "keyword" - }, - "frequency": { - "type": "keyword" - } - } - } -} \ No newline at end of file diff --git a/datatypes/es/question-subscription.json b/datatypes/es/question-subscription.json deleted file mode 100644 index d06dc8c..0000000 --- a/datatypes/es/question-subscription.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "settings": { - "number_of_shards": 3, - "number_of_replicas": 1, - "analysis": { - "normalizer": { - "lowercase": { - "type": "custom", - "filter": [ - "lowercase" - ] - } - } - } - }, - "mappings": { - "properties": { - "subscriptionId": { - "type": "keyword" - }, - "userId": { - "type": "keyword" - }, - "userFirstName": { - "type": "keyword" - }, - "userLastName": { - "type": "keyword" - }, - "userPreferredName": { - "type": "keyword" - }, - "userFullName": { - "type": "keyword", - "normalizer": "lowercase" - }, - "userEmail": { - "type": "keyword", - "normalizer": "lowercase" - }, - "userAvatar": { - "type": "keyword" - }, - "clientIds": { - "type": "keyword" - }, - "createDate": { - "type": "date", - "format": "uuuu-MM-dd'T'HH:mm:ss.SSS'Z['z']'" - }, - "totalLengthInDays": { - "type": "integer" - }, - "startDate": { - "type": "date", - "format": "uuuu-MM-dd'T'HH:mm:ss.SSS'Z['z']'" - }, - "endDate": { - "type": "date", - "format": "uuuu-MM-dd'T'HH:mm:ss.SSS'Z['z']'" - }, - "lastModifyDate": { - "type": "date", - "format": "uuuu-MM-dd'T'HH:mm:ss.SSS'Z['z']'" - }, - "batchCategoryName": { - "type": "keyword" - }, - "batchName": { - "type": "keyword" - }, - "subscribeAllClients": { - "type": "boolean" - }, - "confirmationNumber": { - "type": "keyword" - }, - "creatorFullName": { - "type": "keyword" - } - } - } -} \ No newline at end of file diff --git a/datatypes/es/question-tags.json b/datatypes/es/question-tags.json deleted file mode 100644 index 58db75e..0000000 --- a/datatypes/es/question-tags.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": { - "index": { - "number_of_shards": 3, - "number_of_replicas": 1 - } - }, - "mappings": { - "properties": { - "tag": { - "type": "text" - }, - "count": { - "type": "integer" - } - } - } -} \ No newline at end of file diff --git a/datatypes/es/question-topics.json b/datatypes/es/question-topics.json deleted file mode 100644 index ae78173..0000000 --- a/datatypes/es/question-topics.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "settings": { - "index": { - "number_of_shards": 3, - "number_of_replicas": 1, - "sort.field": "topic", - "sort.order": "asc" - } - }, - "mappings": { - "properties": { - "topic": { - "type": "keyword" - } - } - } -} \ No newline at end of file diff --git a/datatypes/es/question.json b/datatypes/es/question.json deleted file mode 100644 index c42e5f2..0000000 --- a/datatypes/es/question.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "settings": { - "number_of_shards": 3, - "number_of_replicas": 1, - "analysis": { - "normalizer": { - "lowercase": { - "type": "custom", - "filter": [ - "lowercase" - ] - } - } - } - }, - "mappings": { - "properties": { - "active": { - "type": "boolean" - }, - "answer": { - "type": "text" - }, - "codeBlock": { - "type": "text" - }, - "createdAt": { - "type": "date", - "format": "yyyy-MM-dd'T'HH:mm:ss" - }, - "description": { - "type": "text" - }, - "isActive": { - "type": "boolean" - }, - "name": { - "type": "text" - }, - "questionId": { - "type": "text" - }, - "tags": { - "type": "keyword" - }, - "topic": { - "type": "keyword" - }, - "weight": { - "type": "float" - } - } - } -} \ No newline at end of file diff --git a/datatypes/es/user2.json b/datatypes/es/user2.json deleted file mode 100644 index e656ab3..0000000 --- a/datatypes/es/user2.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "settings": { - "number_of_shards": 3, - "number_of_replicas": 2 - }, - "mappings": { - "properties": { - "accountIds": { - "type": "keyword" - }, - "batchAddedDate": { - "type": "date", - "format": "uuuu-MM-dd'T'HH:mm:ss" - }, - "clients": { - "type": "keyword" - }, - "company": { - "type": "keyword" - }, - "companyId": { - "type": "keyword" - }, - "createdDate": { - "type": "date", - "format": "uuuu-MM-dd'T'HH:mm:ss" - }, - "email": { - "type": "keyword" - }, - "firstName": { - "type": "keyword" - }, - "fullName": { - "type": "text" - }, - "isActive": { - "type": "boolean" - }, - "lastName": { - "type": "keyword" - }, - "middleName": { - "type": "keyword" - }, - "preferredName": { - "type": "keyword" - }, - "status": { - "type": "keyword" - }, - "tags": { - "type": "nested", - "properties": { - "name": { - "type": "keyword" - }, - "value": { - "type": "keyword" - } - } - }, - "userId": { - "type": "text" - } - } - } -} \ No newline at end of file