alias searchfield should be case insensitiv
Closed this issue · 2 comments
kkrebs commented
You should add LowerCaseFilterFactory
"filters": [
{
"class": "solr.LowerCaseFilterFactory"
}
]
kkrebs commented
I changed my solr-schema.json this way:
[
{
"add-field-type": {
"name": "mir.alias.string_ci",
"class": "solr.TextField",
"analyzer": {
"tokenizer": {
"class": "solr.KeywordTokenizerFactory"
},
"filters": [
{
"class": "solr.LowerCaseFilterFactory"
}
]
}
}
},
{
"add-field": {
"name": "alias",
"type": "mir.alias.string_ci",
"indexed": true,
"stored": true,
"multiValued": false
}
}
]
And now both variants work:
https://reposis-test.gbv.de/repper/publikationen/friedrich300-colloquien/Friedrich-Dynastie/
https://reposis-test.gbv.de/repper/publikationen/friedrich300-colloquien/friedrich-dynastie/