Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 109 lines (87 sloc) 3.779 kb
e491933 @markmacgillivray adding facetview files
markmacgillivray authored
1 # create range facets for previous RAE periods
2 # create install scripts and readmes
3 {
4 "service_name" : "BibSoup",
9696841 [refactor,setup][s]: introduce elasticsearch, document this, and test we...
rgrp authored
5
6 "ELASTIC_SEARCH_HOST" : "127.0.0.1:9200",
7 "ELASTIC_SEARCH_DB" : "bibserver",
e491933 @markmacgillivray adding facetview files
markmacgillivray authored
8
9 # solr service base url
10 "solr_url" : "http://localhost:8983/solr",
11
12 # solr request handler
13 "request_handler" : "/select",
14
15 # UI template
16 "template" : "bibserver.mako",
17 "result_view" : "list-view.mako",
18
19 # Solreyes base URL
20 "base_url" : "http://bibsoup.net/search",
21 "strip_for_implicit_paths" : "search",
22
23 # default results per page (integer)
24 "default_results_per_page" : 10,
25
26 # page size options to offer to the user (an array of integers)
27 "results_per_page_options" : [10, 20, 50, 100],
28
29 # default minimum number of results required to trigger a facet being included (integer)
30 "facet_mincount" : 1,
31
32 "allow_text_search" : true,
33
34 "text_search_field" : "text",
35
36 "always_visible" : 5,
37
38 # The fields which are plain text/value facets, and their display names
39 # (object with keys representing facet names, and values as objects containing
40 # a single key/value pair for the display name)
41 # "facet_fields" : { "<facet_name>" : { "display" : "<Display Name>" } ... }
42 #
43 "facet_fields" : {
44 "collection" : { "display" : "collection" },
45 "journal" : { "display" : "journal"},
46 "author" : {"display" : "author"},
47 "year" : {"display" : "year"}
48 },
49
50 # The fields which are used for straight ranged faceting (dates should be dealt with
51 # separately)
52 #
53 # Each facet identified can have the following attributes:
54 # display - the Display Name of the facet in the UI
55 # min - the lower boundary of the total range
56 # max - the upper boundary of the total range
57 # gap - the minimum gap between upper and lower bounds of a particular range
58 # mincount - the minimum number of hits in a range required to trigger a result. If this
59 # is not met, the increment will be increased by <gap> until the mincount is
60 # met
61 # infinity - for searches above the <max> this is the effective infinity which will cap
62 # the search. It should just be set higher than the highest possible/likely
63 # value
64 #
65 # "facet_ranges" : { "<facet_name>" : { "display" : "<Display Name>", "min" : "<Lower Boundary>",
66 # "max" : "<Upper Boundary>", "gap" : "<Minimum Gap>",
67 # "mincount" : "<Minimum number per Gap>",
68 # "infinity" : "<Effective Infinity>"}
69 "facet_ranges" : {
70 },
71
72 "facet_dates" : {
73 },
74
75 "facet_queries" : {
76 },
77
78 "display_facet_order" : ["collection","journal","author","year"],
79
80 "sort_fields" : {
81 },
82
83 "facet_value_functions" : {
84 },
85
86 "upper_display_functions" : {
87 },
88
89 "display_fields" : {
90 "title" : "title",
91 "journal" : "journal",
92 "author" : "author",
93 "doi" : "doi",
94 "url" : "url"
95 },
96 "display_value_functions" : {
97 "title" : {"wrap" : {"start" : "<a class=\"list_result_field_showall\" href=\"\" alt=\"show more info\" title=\"show more info\"><strong>", "end" : "</strong></a>"}},
98 "journal" : {"wrap" : {"start" : "<em>", "end" : "</em>"}},
99 "doi" : {"doiify" : {"resolver" : "http://dx.doi.org/"}},
100 "url" : {"linkify" : {}},
101 "author": {"searchify":{}},
102 "collection": {"implicify":{}}
103 },
104 "display_field_order" : ["title","journal","author","doi","url"],
105
106 "dynamic_fields" :{
107 }
108 }
Something went wrong with that request. Please try again.