Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 199 lines (189 sloc) 5.394 kb
e491933 markmacgillivray adding facetview files
markmacgillivray authored
1 {
83caccf markmacgillivray bringing in coll metadata to templates
markmacgillivray authored
2 # service and super user account
e491933 markmacgillivray adding facetview files
markmacgillivray authored
3 "service_name" : "BibSoup",
83caccf markmacgillivray bringing in coll metadata to templates
markmacgillivray authored
4 "super_user" : "test",
b1b5049 markmacgillivray removing static symbolic link, seems to work without it. also fixing /qu...
markmacgillivray authored
5 "host" : "0.0.0.0",
0407dbe markmacgillivray separating out the search functionality and adding in jtedit
markmacgillivray authored
6 "debug" : true,
7 "port" : 5000,
2ea417c markmacgillivray fix to site url identification for building urls into records. addition ...
markmacgillivray authored
8
e3f6be1 markmacgillivray refactoring solreyes functions out - not finished though. parsers moved ...
markmacgillivray authored
9 # elasticsearch settings
9696841 [refactor,setup][s]: introduce elasticsearch, document this, and test we...
rgrp authored
10 "ELASTIC_SEARCH_HOST" : "127.0.0.1:9200",
11 "ELASTIC_SEARCH_DB" : "bibserver",
45edeeb markmacgillivray changes to dao
markmacgillivray authored
12
06bc33a markmacgillivray raft of changes to alter the layout of the search results, and to enable...
markmacgillivray authored
13 # bibserver functionality settings
47ad385 markmacgillivray fixing config
markmacgillivray authored
14 # set to false if no frontend upload wanted
15 # set to false if no frontend edit wanted
16 "allow_upload" : true,
17 "allow_edit" : true,
06bc33a markmacgillivray raft of changes to alter the layout of the search results, and to enable...
markmacgillivray authored
18
3b3456b Etienne Posthumus First cut of the async ingest.
epoz authored
19 # ingest settings
20 "download_cache_directory" : "download_cache",
21 "parserscrapers_plugin_directory" : "parserscrapers_plugins",
22
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
23
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
24 # The default fields and settings for which faceting should be made available on
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
25 # these can be nested fields, e.g. links.url
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
26 "search_facet_fields" : [
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
27 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
28 "field":"collection.exact",
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
29 "order":"term",
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
30 "size":200,
31 "display":"collection"
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
32 },
33 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
34 "field":"type.exact",
35 "order":"count",
36 "display":"type"
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
37 },
38 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
39 "field":"journal.name.exact",
40 "display":"journal"
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
41 },
42 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
43 "field":"author.name.exact",
6b64456 markmacgillivray adding a method to iomanager to find all relevant sort fields for given ...
markmacgillivray authored
44 "order":"term",
4fee8fb markmacgillivray adding some beta tags and a version number, tidying up the FAQ page to m...
markmacgillivray authored
45 "size":500,
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
46 "display":"author"
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
47 },
48 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
49 "field":"year.exact",
50 "size":100,
51 "order":"reverse_term",
52 "display":"year"
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
53 }
54 ],
a7786fc markmacgillivray added search result sort to frontend. added first pass at parsing people...
markmacgillivray authored
55
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
56 # search result display layout
0532079 markmacgillivray pushing changes to meet jims no-negotiable requirement that facet values...
markmacgillivray authored
57 # a list of lists. each list represents a line on the display.
58 # in each line, there are objects for each key to include on the line.
59 # must specify the key, and optional "pre" and "post" params for displaying round it
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
60 "search_result_display" : [
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
61 [
62 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
63 "field": "author.name"
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
64 },
65 {
66 "pre": "(",
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
67 "field": "year",
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
68 "post": ")"
69 }
70 ],
71 [
72 {
59b3fe8 markmacgillivray improving user interface
markmacgillivray authored
73 "pre":"<strong><a style=\"color:#333;\" href=\"/",
74 "field":"owner",
75 "post":"/"
76 },
77 {
78 "field":"collection",
79 "post":"/"
80 },
81 {
82 "field":"id",
83 "post":"\">"
84 },
85 {
86 "field":"title",
87 "post":"</a></strong>"
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
88 }
89 ],
90 [
91 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
92 "field": "howpublished"
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
93 },
94 {
9d17358 markmacgillivray improved the config method for preparing facets - it is now an object wi...
markmacgillivray authored
95 "pre": "in <em>",
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
96 "field": "journal.name",
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
97 "post": "</em>,"
98 },
99 {
100 "pre": "<em>",
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
101 "field": "booktitle",
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
102 "post": "</em>,"
103 },
104 {
fec0f85 markmacgillivray changing default config to closer match Jims wishes
markmacgillivray authored
105 "pre": "vol. ",
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
106 "field": "volume",
0532079 markmacgillivray pushing changes to meet jims no-negotiable requirement that facet values...
markmacgillivray authored
107 "post": ","
fec0f85 markmacgillivray changing default config to closer match Jims wishes
markmacgillivray authored
108 },
109 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
110 "pre": "p. ",
111 "field": "pages"
fec0f85 markmacgillivray changing default config to closer match Jims wishes
markmacgillivray authored
112 },
113 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
114 "field": "publisher"
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
115 }
116 ],
117 [
118 {
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
119 "field": "link.url"
be84de5 markmacgillivray changing result display layout and adding passthrough options to show mo...
markmacgillivray authored
120 }
121 ]
122 ],
17c7c5a markmacgillivray updating setup.py
markmacgillivray authored
123
59b3fe8 markmacgillivray improving user interface
markmacgillivray authored
124 # default view for collections page
125 "colls_result_display" : [
126 [
127 {
128 "pre":"<h3><a href=\"/",
129 "field":"owner",
130 "post":"/"
131 },
132 {
133 "field":"collection",
134 "post":"\">"
135 },
136 {
137 "field":"label",
138 "post":"</a></h3>"
139 }
140 ],
141 [
142 {
143 "field":"description"
144 },
145 {
146 "pre":" (created by <a href=\"/",
147 "field":"owner",
148 "post":"\">"
149 },
150 {
151 "field":"owner",
152 "post":"</a>)"
153 }
154 ]
155 ],
156
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
157 # a dict of the ES mappings. identify by name, and include name as first object name
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
158 # and identifier for how non-analyzed fields for faceting are differentiated in the mappings
159 "facet_field" : ".exact",
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
160 "mappings" : {
161 "record" : {
162 "record" : {
7de7071 markmacgillivray changing mappings to ignore attempts to parse input to dates, changing r...
markmacgillivray authored
163 "date_detection" : false,
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
164 "dynamic_templates" : [
165 {
166 "default" : {
167 "match" : "*",
7de7071 markmacgillivray changing mappings to ignore attempts to parse input to dates, changing r...
markmacgillivray authored
168 "match_mapping_type": "string",
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
169 "mapping" : {
170 "type" : "multi_field",
171 "fields" : {
172 "{name}" : {"type" : "{dynamic_type}", "index" : "analyzed", "store" : "no"},
173 "exact" : {"type" : "{dynamic_type}", "index" : "not_analyzed", "store" : "yes"}
174 }
175 }
176 }
177 }
178 ]
179 }
180 },
181 "collection" : {
182 "collection" : {
7de7071 markmacgillivray changing mappings to ignore attempts to parse input to dates, changing r...
markmacgillivray authored
183 "date_detection" : false,
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
184 "dynamic_templates" : [
185 {
186 "default" : {
187 "match" : "*",
188 "mapping" : {
189 "index" : "not_analyzed"
190 }
191 }
192 }
193 ]
194 }
195 }
1c796d7 markmacgillivray major refactor to new versions of bootstrap and facetview. dropped alot ...
markmacgillivray authored
196 }
37aea4f markmacgillivray slight refactor of iomanager and web.py calling it, and changes to bibte...
markmacgillivray authored
197
e491933 markmacgillivray adding facetview files
markmacgillivray authored
198 }
Something went wrong with that request. Please try again.