Browse Source
This reverts commit f489d2034b
.
This commit breaks the install process when using debian packages.
Reverting as we are very close to the 18.05.00 release
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
9 changed files with 121 additions and 242 deletions
@ -1,61 +0,0 @@ |
|||
--- |
|||
# General field configuration |
|||
general: |
|||
_all: |
|||
type: string |
|||
analyzer: analyser_standard |
|||
properties: |
|||
record: |
|||
store: true |
|||
type: text |
|||
# Search fields |
|||
search: |
|||
boolean: |
|||
type: boolean |
|||
null_value: false |
|||
integer: |
|||
type: integer |
|||
null_value: 0 |
|||
stdno: |
|||
type: text |
|||
analyzer: analyser_stdno |
|||
search_analyzer: analyser_stdno |
|||
fields: |
|||
phrase: |
|||
type: text |
|||
analyzer: analyser_stdno |
|||
search_analyzer: analyser_stdno |
|||
raw: |
|||
type: keyword |
|||
copy_to: _all |
|||
default: |
|||
type: text |
|||
analyzer: analyser_standard |
|||
search_analyzer: analyser_standard |
|||
fields: |
|||
phrase: |
|||
type: text |
|||
analyzer: analyser_phrase |
|||
search_analyzer: analyser_phrase |
|||
raw: |
|||
type: keyword |
|||
copy_to: _all |
|||
# Facets |
|||
facet: |
|||
default: |
|||
type: keyword |
|||
# Suggestible |
|||
suggestible: |
|||
default: |
|||
type: completion |
|||
analyzer: simple |
|||
search_analyzer: simple |
|||
# Sort |
|||
sort: |
|||
default: |
|||
type: text |
|||
analyzer: analyser_phrase |
|||
search_analyzer: analyser_phrase |
|||
fields: |
|||
phrase: |
|||
type: keyword |
@ -1,34 +0,0 @@ |
|||
--- |
|||
# Index configuration that defines how different analyzers work. |
|||
index: |
|||
analysis: |
|||
analyzer: |
|||
# Phrase analyzer is used for phrases (phrase match, sorting) |
|||
analyser_phrase: |
|||
tokenizer: keyword |
|||
filter: |
|||
- icu_folding |
|||
char_filter: |
|||
- punctuation |
|||
analyser_standard: |
|||
tokenizer: icu_tokenizer |
|||
filter: |
|||
- icu_folding |
|||
analyser_stdno: |
|||
tokenizer: whitespace |
|||
filter: |
|||
- icu_folding |
|||
char_filter: |
|||
- punctuation |
|||
normalizer: |
|||
normalizer_keyword: |
|||
type: custom |
|||
filter: |
|||
- icu_folding |
|||
char_filter: |
|||
# The punctuation filter is used to remove any punctuation chars in fields that don't use icu_tokenizer. |
|||
punctuation: |
|||
type: pattern_replace |
|||
# The pattern contains all ASCII punctuation characters. |
|||
pattern: '([\x00-\x1F,\x21-\x2F,\x3A-\x40,\x5B-\x60,\x7B-\x89,\x8B,\x8D,\x8F,\x90-\x99,\x9B,\x9D,\xA0-\xBF,\xD7,\xF7])' |
|||
replacement: '' |
Loading…
Reference in new issue