0e7f7ab051
This is an interface for quick and efficient browsing through records. It presents a page at /cgi-bin/koha/opac-browse.pl that allows you to enter the prefix of an author, title, or subject and it'll give you a list of the options that match that. You can then scroll through these and select the one you're after. Selecting it provides a list of records that match that particular search. To Test: 1 - Apply patches 2 - Update database (updatedatabase on kohadevbox) 3 - Compile the CSS https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client yarn build --view=opac on kohadevbox 4 - Enable the new syspref OpacBrowseSearch 5 - Have ES running and some records in it SearchEngine syspref set to Elasticsearch 6 - Browse to opac home, click 'Browse search' link for your site) 7 - Test searching for author, title, and subject 8 - Verify that results are returned in expected order 9 - Experiment with fuzziness https://www.elastic.co/guide/en/elasticsearch/reference/5.6/common-options.html#fuzziness Options are: exact (0 edits), fuzzy (1 edit), very fuzzy (2 edits) 10 - Click any result and verify specific titles are correct 11 - Click through title to record and verify it is the correct record 12 - Test that disabling pref removes the link on the opac home Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
69 lines
1.3 KiB
YAML
69 lines
1.3 KiB
YAML
---
|
|
# General field configuration
|
|
general:
|
|
properties:
|
|
marc_data:
|
|
store: true
|
|
type: text
|
|
analyzer: keyword
|
|
index: false
|
|
marc_data_array:
|
|
type: object
|
|
dynamic: true
|
|
marc_format:
|
|
store: true
|
|
type: text
|
|
analyzer: keyword
|
|
index: false
|
|
|
|
# Search fields
|
|
search:
|
|
boolean:
|
|
type: boolean
|
|
null_value: false
|
|
integer:
|
|
type: integer
|
|
null_value: 0
|
|
stdno:
|
|
type: text
|
|
analyzer: analyzer_stdno
|
|
search_analyzer: analyzer_stdno
|
|
fields:
|
|
phrase:
|
|
type: text
|
|
analyzer: analyzer_phrase
|
|
search_analyzer: analyzer_phrase
|
|
raw:
|
|
type: keyword
|
|
default:
|
|
type: text
|
|
analyzer: analyzer_standard
|
|
search_analyzer: analyzer_standard
|
|
fields:
|
|
phrase:
|
|
type: text
|
|
analyzer: analyzer_phrase
|
|
search_analyzer: analyzer_phrase
|
|
raw:
|
|
type: keyword
|
|
normalizer: nfkc_cf_normalizer
|
|
ci_raw:
|
|
type: keyword
|
|
normalizer: icu_folding_normalizer
|
|
# Facets
|
|
facet:
|
|
default:
|
|
type: keyword
|
|
# Suggestible
|
|
suggestible:
|
|
default:
|
|
type: completion
|
|
analyzer: simple
|
|
max_input_length: 100
|
|
search_analyzer: simple
|
|
# Sort
|
|
sort:
|
|
default:
|
|
type: icu_collation_keyword
|
|
index: false
|
|
numeric: true
|