diff options
author | rv871f <richard.vondadelszen@amdocs.com> | 2018-03-20 10:21:42 -0400 |
---|---|---|
committer | rv871f <richard.vondadelszen@amdocs.com> | 2018-03-20 11:03:34 -0400 |
commit | bf99eb77b31a4cfbc590762cc6ba669820c21439 (patch) | |
tree | 6251d665e64a09eb98e79540967dff832f4226b4 /src/main/resources | |
parent | 1aae9de4d596a1108818c2d035225a3ba2737501 (diff) |
Process VNF event from spike
Issue-ID: AAI-899
Change-Id: I2d056734e6af0fe0b4efe92681971e2b74153a0e
Signed-off-by: rv871f <richard.vondadelszen@amdocs.com>
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/aggregatevnf_schema.json | 17 | ||||
-rw-r--r-- | src/main/resources/autosuggest_schema.json | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/src/main/resources/aggregatevnf_schema.json b/src/main/resources/aggregatevnf_schema.json new file mode 100644 index 0000000..03d5627 --- /dev/null +++ b/src/main/resources/aggregatevnf_schema.json @@ -0,0 +1,17 @@ +{ + "mappings": { + "default": { + "dynamic_templates": [{ + "strings": { + "match_mapping_type": "string", + "match": "*", + "mapping": { + "type": "string", + "index": "not_analyzed" + } + } + } + ] + } + } +}
\ No newline at end of file diff --git a/src/main/resources/autosuggest_schema.json b/src/main/resources/autosuggest_schema.json new file mode 100644 index 0000000..99ac031 --- /dev/null +++ b/src/main/resources/autosuggest_schema.json @@ -0,0 +1,31 @@ +{ + "settings": { + "analysis": { + "filter": { + "eng_stop": { + "type": "stop", + "stopwords": "_english_" + } + }, + "analyzer": { + "custom_analyzer": { + "type": "custom", + "tokenizer": "standard", + "filter": ["lowercase", "asciifolding", "eng_stop"] + } + } + } + }, + "mappings": { + "default": { + "properties": { + "entity_suggest": { + "type": "completion", + "payloads": true, + "analyzer": "custom_analyzer", + "preserve_position_increments": false + } + } + } + } +}
\ No newline at end of file |