aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/resources/config/sparky-be/appconfig/suggestive-search.properties
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai/resources/config/sparky-be/appconfig/suggestive-search.properties')
-rw-r--r--kubernetes/aai/resources/config/sparky-be/appconfig/suggestive-search.properties27
1 files changed, 27 insertions, 0 deletions
diff --git a/kubernetes/aai/resources/config/sparky-be/appconfig/suggestive-search.properties b/kubernetes/aai/resources/config/sparky-be/appconfig/suggestive-search.properties
new file mode 100644
index 0000000000..b82baffc14
--- /dev/null
+++ b/kubernetes/aai/resources/config/sparky-be/appconfig/suggestive-search.properties
@@ -0,0 +1,27 @@
+######################################################################################
+############################## Suggestive Search Config ##############################
+######################################################################################
+
+# Indexes to be taken into account when generating suggestion entries
+suggestion.indexes=elasticsearch.autosuggestIndexname,elasticsearch.indexName
+# List of stop words to be used during suggestive search
+suggestion.stopwords=a,an,and,are,as,at,be,but,by,called,for,if,in,into,is,it,no,not,of,on,or,such,that,the,their,then,there,these,they,this,to,was,will,with
+# Assigns which class, within sparky, will process the searches related to an assosiated index
+suggestion.routing=elasticsearch.autosuggestIndexname:SearchServiceWrapper,elasticsearch.indexName:VnfSearchService
+
+############################## Pairings ##############################
+#
+# "called" pairings, keys reference types within the OXM, and the value
+# is the suggestion term used for matches with any of the "called" keys.
+# e.g. "x called vserver-id" (but actual value of vserver-id)
+suggestion.pairing.called.key=volume-group-id,volume-group-name,physical-location-id,data-center-code,complex-name,tenant-id,tenant-name,vserver-id,vserver-name,vserver-name2,hostname,pserver-name2,pserver-id,global-customer-id,subscriber-name,service-instance-id,service-instance-name,link-name,vpn-id,vpn-name,vpe-id,vnf-id,vnf-name,vnf-name2,vnfc-name,network-id,network-name,network-policy-id,vf-module-id,vf-module-name,vnf-id2,pnf-name,circuit-id
+suggestion.pairing.called.value=called
+#
+# Exact same explanation as the "called" pairings above.
+# e.g. "x at ipv4-oam-address"
+suggestion.pairing.at.key=street1,street2,postal-code,ipv4-oam-address,network-policy-fqdn
+suggestion.pairing.at.value=at
+#
+# Default pairing values for any OXM types that aren't part of the the other
+# pairing lists.
+suggestion.pairing.default.value=with \ No newline at end of file