Configuration

Configuration for Invenio-Search-UI.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_COUNT = 'templates/invenio_search_ui/count.html'

Configure the count template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_ERROR = 'templates/invenio_search_ui/error.html'

Configure the error page template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_FACETS = 'templates/invenio_search_ui/facets.html'

Configure the facets template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_LOADING = 'templates/invenio_search_ui/loading.html'

Configure the loading template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_PAGINATION = 'templates/invenio_search_ui/pagination.html'

Configure the pagination template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_RANGE = 'templates/invenio_search_ui/range.html'

Configure the range template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_RANGE_OPTIONS = {'histogramId': '#year_hist', 'name': 'years', 'selectionId': '#year_select', 'width': 180}

Configure the range template options.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_RESULTS = 'templates/invenio_search_ui/marc21/default.html'

Configure the results template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_SELECT_BOX = 'templates/invenio_search_ui/selectbox.html'

Configure the select box template.

invenio_search_ui.config.SEARCH_UI_JSTEMPLATE_SORT_ORDER = 'templates/invenio_search_ui/togglebutton.html'

Configure the toggle button template.

invenio_search_ui.config.SEARCH_UI_SEARCH_API = '/api/records/'

Configure the search engine endpoint.

invenio_search_ui.config.SEARCH_UI_SEARCH_INDEX = 'records'

Name of the search index used.

invenio_search_ui.config.SEARCH_UI_SEARCH_TEMPLATE = 'invenio_search_ui/search.html'

Configure the search page template.