aboutsummaryrefslogtreecommitdiff
path: root/solr-8.3.1/example/files/conf/params.json
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-02-09 14:58:57 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-02-09 14:58:57 -0500
commitf6179334d6f2942631caa17b7c8ae2531d87c7c4 (patch)
tree091da0ef7bedb900c958c28cebe4058fade644cf /solr-8.3.1/example/files/conf/params.json
parent07141291bee793955d7061f4e479942d7aceda67 (diff)
parent87167fd126e161b29d8d798a5f04e3cf159aae16 (diff)
recommender system works
Diffstat (limited to 'solr-8.3.1/example/files/conf/params.json')
-rw-r--r--solr-8.3.1/example/files/conf/params.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/solr-8.3.1/example/files/conf/params.json b/solr-8.3.1/example/files/conf/params.json
new file mode 100644
index 000000000..22aadccdd
--- /dev/null
+++ b/solr-8.3.1/example/files/conf/params.json
@@ -0,0 +1,34 @@
+{"params":{
+ "query":{
+ "defType":"edismax",
+ "q.alt":"*:*",
+ "rows":"10",
+ "fl":"*,score",
+ "":{"v":0}},
+ "facets":{
+ "facet":"on",
+ "facet.mincount":"1",
+ "f.doc_type.facet.mincount":"0",
+ "facet.field":["text_shingles","{!ex=type}doc_type", "language"],
+ "f.text_shingles.facet.limit":10,
+ "facet.query":"{!ex=type key=all_types}*:*",
+ "f.doc_type.facet.missing":true,
+ "":{"v":0}},
+ "browse":{
+ "type_fq":"{!field f=doc_type v=$type}",
+ "hl":"on",
+ "hl.fl":"content",
+ "v.locale":"${locale}",
+ "debug":"true",
+ "hl.simple.pre":"HL_START",
+ "hl.simple.post":"HL_END",
+ "echoParams": "explicit",
+ "_appends_": {
+ "fq": "{!switch v=$type tag=type case='*:*' case.all='*:*' case.unknown='-doc_type:[* TO *]' default=$type_fq}"
+ },
+ "":{"v":0}},
+ "velocity":{
+ "wt":"velocity",
+ "v.template":"browse",
+ "v.layout":"layout",
+ "":{"v":0}}}}