Skip to content
This repository
Newer
Older
100644 150 lines (142 sloc) 4.239 kb
e4919339 » markmacgillivray
2011-08-17 adding facetview files
1 {
83caccf8 » markmacgillivray
2012-03-13 bringing in coll metadata to templates
2 # service and super user account
e4919339 » markmacgillivray
2011-08-17 adding facetview files
3 "service_name" : "BibSoup",
83caccf8 » markmacgillivray
2012-03-13 bringing in coll metadata to templates
4 "super_user" : "test",
0407dbe2 » markmacgillivray
2012-03-14 separating out the search functionality and adding in jtedit
5 "debug" : true,
6 "port" : 5000,
2ea417cb » markmacgillivray
2011-10-14 fix to site url identification for building urls into records. additi…
7
e3f6be1c » markmacgillivray
2011-08-29 refactoring solreyes functions out - not finished though. parsers mov…
8 # elasticsearch settings
96968415 » rgrp
2011-08-20 [refactor,setup][s]: introduce elasticsearch, document this, and test…
9 "ELASTIC_SEARCH_HOST" : "127.0.0.1:9200",
10 "ELASTIC_SEARCH_DB" : "bibserver",
45edeeb9 » markmacgillivray
2011-09-04 changes to dao
11
06bc33a9 » markmacgillivray
2011-11-11 raft of changes to alter the layout of the search results, and to ena…
12 # bibserver functionality settings
47ad3853 » markmacgillivray
2012-03-13 fixing config
13 # set to false if no frontend upload wanted
14 # set to false if no frontend edit wanted
15 "allow_upload" : true,
16 "allow_edit" : true,
06bc33a9 » markmacgillivray
2011-11-11 raft of changes to alter the layout of the search results, and to ena…
17
3b3456bf » epoz
2012-02-08 First cut of the async ingest.
18 # ingest settings
19 "download_cache_directory" : "download_cache",
20 "parserscrapers_plugin_directory" : "parserscrapers_plugins",
21
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
22
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
23 # The default fields and settings for which faceting should be made available on
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
24 # these can be nested fields, e.g. links.url
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
25 "search_facet_fields" : [
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
26 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
27 "field":"collection.exact",
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
28 "order":"term",
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
29 "size":200,
30 "display":"collection"
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
31 },
32 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
33 "field":"type.exact",
34 "order":"count",
35 "display":"type"
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
36 },
37 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
38 "field":"journal.name.exact",
39 "display":"journal"
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
40 },
41 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
42 "field":"author.name.exact",
6b644561 » markmacgillivray
2011-10-15 adding a method to iomanager to find all relevant sort fields for giv…
43 "order":"term",
4fee8fbc » markmacgillivray
2012-02-09 adding some beta tags and a version number, tidying up the FAQ page t…
44 "size":500,
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
45 "display":"author"
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
46 },
47 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
48 "field":"year.exact",
49 "size":100,
50 "order":"reverse_term",
51 "display":"year"
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
52 }
53 ],
a7786fc8 » markmacgillivray
2011-09-14 added search result sort to frontend. added first pass at parsing peo…
54
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
55 # search result display layout
05320799 » markmacgillivray
2011-11-03 pushing changes to meet jims no-negotiable requirement that facet val…
56 # a list of lists. each list represents a line on the display.
57 # in each line, there are objects for each key to include on the line.
58 # must specify the key, and optional "pre" and "post" params for displaying round it
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
59 "search_result_display" : [
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
60 [
61 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
62 "field": "author.name"
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
63 },
64 {
65 "pre": "(",
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
66 "field": "year",
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
67 "post": ")"
68 }
69 ],
70 [
71 {
72 "pre": "<strong>",
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
73 "field": "title",
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
74 "post": "</strong>"
75 }
76 ],
77 [
78 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
79 "field": "howpublished"
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
80 },
81 {
9d173585 » markmacgillivray
2011-10-13 improved the config method for preparing facets - it is now an object…
82 "pre": "in <em>",
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
83 "field": "journal.name",
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
84 "post": "</em>,"
85 },
86 {
87 "pre": "<em>",
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
88 "field": "booktitle",
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
89 "post": "</em>,"
90 },
91 {
fec0f854 » markmacgillivray
2011-11-03 changing default config to closer match Jims wishes
92 "pre": "vol. ",
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
93 "field": "volume",
05320799 » markmacgillivray
2011-11-03 pushing changes to meet jims no-negotiable requirement that facet val…
94 "post": ","
fec0f854 » markmacgillivray
2011-11-03 changing default config to closer match Jims wishes
95 },
96 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
97 "pre": "p. ",
98 "field": "pages"
fec0f854 » markmacgillivray
2011-11-03 changing default config to closer match Jims wishes
99 },
100 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
101 "field": "publisher"
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
102 }
103 ],
104 [
105 {
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
106 "field": "link.url"
be84de54 » markmacgillivray
2011-10-12 changing result display layout and adding passthrough options to show…
107 }
108 ]
109 ],
17c7c5a4 » markmacgillivray
2011-09-28 updating setup.py
110
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
111 # a dict of the ES mappings. identify by name, and include name as first object name
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
112 # and identifier for how non-analyzed fields for faceting are differentiated in the mappings
113 "facet_field" : ".exact",
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
114 "mappings" : {
115 "record" : {
116 "record" : {
117 "dynamic_templates" : [
118 {
119 "default" : {
120 "match" : "*",
003019c0 » markmacgillivray
2011-10-28 main purpose of this commit is the change to the dynamic mapping to s…
121 "match_mapping_type": "string",
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
122 "mapping" : {
123 "type" : "multi_field",
124 "fields" : {
125 "{name}" : {"type" : "{dynamic_type}", "index" : "analyzed", "store" : "no"},
126 "exact" : {"type" : "{dynamic_type}", "index" : "not_analyzed", "store" : "yes"}
127 }
128 }
129 }
130 }
131 ]
132 }
133 },
134 "collection" : {
135 "collection" : {
136 "dynamic_templates" : [
137 {
138 "default" : {
139 "match" : "*",
140 "mapping" : {
141 "index" : "not_analyzed"
142 }
143 }
144 }
145 ]
146 }
147 }
1c796d7d » markmacgillivray
2012-03-04 major refactor to new versions of bootstrap and facetview. dropped al…
148 }
37aea4fc » markmacgillivray
2011-10-14 slight refactor of iomanager and web.py calling it, and changes to bi…
149
e4919339 » markmacgillivray
2011-08-17 adding facetview files
150 }
Something went wrong with that request. Please try again.