aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/autosuggest_schema.json
diff options
context:
space:
mode:
authorrv871f <richard.vondadelszen@amdocs.com>2018-03-20 10:21:42 -0400
committerrv871f <richard.vondadelszen@amdocs.com>2018-03-20 11:03:34 -0400
commitbf99eb77b31a4cfbc590762cc6ba669820c21439 (patch)
tree6251d665e64a09eb98e79540967dff832f4226b4 /src/main/resources/autosuggest_schema.json
parent1aae9de4d596a1108818c2d035225a3ba2737501 (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/autosuggest_schema.json')
-rw-r--r--src/main/resources/autosuggest_schema.json31
1 files changed, 31 insertions, 0 deletions
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