Skip to content
Snippets Groups Projects
Commit bbcdf8b4 authored by André Lahmann's avatar André Lahmann
Browse files

refs #26164 [fid_adlr] release/fid_adlr/2024_01

* configure SolrCloud
* apply searchspecs modifications for better SolrCloud search
......@@ -48,14 +48,10 @@ autoconfig:
Database:
database: mysql://vufind:vufind@db/vufind
Index:
url: https://index.ub.uni-leipzig.de/solr
url: https://solrlcoud.ub.uni-leipzig.de/solr
Mail:
host: mail
port: 25
searches.ini:
IndexShards:
ai: ai.ub.uni-leipzig.de/solr/biblio
main: index.ub.uni-leipzig.de/solr/biblio
searchspecs.yaml:
"@parent_yaml": "../../../config/vufind/searchspecs.yaml"
......
......@@ -21,3 +21,7 @@ php:
autoconfig:
VUFIND_SITE: fid_adlr
VUFIND_DEFAULTS:
config.ini:
Index:
url: https://solrcloud.ub.uni-leipzig.de/solr
......@@ -20,6 +20,3 @@ relative_path = ../../../local/config/vufind/searches.ini
;
;##################### DO NOT DELETE THIS HEADER ####################
;####################################################################
[IndexShards]
; needs to be empty array due to MungerInjection logic
\ No newline at end of file
......@@ -81,7 +81,6 @@ Solr:Releases[] = 'mega_collection:PDA Print VUB'
[InstitutionInfo]
;bibid = "UBL"
sigel = "15-FID"
isil[] = "DE-15-FID"
isil[] = "FID-MEDIEN-DE-15"
;isil[] = "DE-15-100"
;isil[] = "DE-15-292"
......@@ -155,6 +154,7 @@ collections = false
disable_from = true
[Index]
url = https://solrcloud.ub.uni-leipzig.de/solr
group = true
group.field = "match_str"
group.limit = 10
......
......@@ -22,14 +22,7 @@ override_full_sections = "Basic_Searches,Advanced_Searches"
;####################################################################
[RawHiddenFilters]
0 = "institution:DE-15-FID OR institution:FID-MEDIEN-DE-15"
[IndexShards]
ai = "ai.ub.uni-leipzig.de/solr/biblio"
main = "index.ub.uni-leipzig.de/solr/biblio"
[ShardPreferences]
showCheckboxes = false
0 = "institution:FID-MEDIEN-DE-15"
[RSS]
sort = "date_de15 desc"
......@@ -60,6 +53,7 @@ side[] = "SideFacets:Results:CheckboxFacets"
[General]
highlighting = false
snippets = false
display_versions = false
default_noresults_recommend[] = SwitchType
default_noresults_recommend[] = SwitchQuery
default_noresults_recommend[] = RemoveFilters
......
......@@ -323,121 +323,43 @@ JournalTitle:
AllFields:
DismaxParams:
- [mm, 3]
- [bf , ord(publishDateSort)^10]
- [bf , "if(exists(query({!v='source_id:0'})),10,1)^1000"]
- [bf, "if(exists(query({!v='facet_avail:Local'})),10,1)^10"]
DismaxFields:
- title_short^1000
- title_full_unstemmed^1000
- title_short^750
- title_full_unstemmed^600
- title_full^400
- title^500
- title_alt^200
- title_new^100
- title_orig^500
- title_orig^100
- series^50
- series_orig^10
- series2^30
- series_orig^50
- author^500
- author2^400
- author_ref^500
- author_orig^300
- author2_orig^300
- topic_ref^10
- author^300
- author2^100
- author_corporate
- author_ref
- topic_ref
- contents^10
- topic_unstemmed^15
- topic^10
- geographic^10
- genre^10
- rvk_label
- topic_unstemmed^550
- topic^500
- geographic^300
- genre^300
- allfields_unstemmed^10
- fulltext_unstemmed^10
- allfields
- fulltext
- description
- isbn
- isbn_isn_mv
- issn
- issn_isn_mv
- ismn
QueryFields:
0:
0:
- OR
- 50
title_short:
- [onephrase, 1000]
title_full_unstemmed:
- [onephrase, 1000]
- [and, 500]
title_full:
- [onephrase, 400]
title:
- [onephrase, 300]
- [and, 250]
title_alt:
- [and, 200]
title_new:
- [and, 100]
title_orig:
- [onephrase, 500]
- [and, 400]
series:
- [onephrase, 300]
- [and, 100]
series2:
- [and, 30]
series_orig:
- [onephrase, 200]
- [and, 100]
author:
- [onephrase, 500]
- [and, 250]
author_ref:
- [onephrase, 250]
- [and, 250]
- [or, 250]
author_orig:
- [onephrase, 500]
- [and, 250]
author2_orig:
- [and, 50]
author2:
- [and, 50]
contents:
- [and, 10]
topic_unstemmed:
- [onephrase, 55]
- [and, 50]
topic:
- [onephrase, 50]
topic_ref:
- [onephrase, 10]
- [and, 5]
- [or, 5]
topic_id:
- [onephrase, 50]
- [and, 25]
allfields_unstemmed:
- [or, 10]
allfields:
- [or, ~]
fulltext:
- [or, ~]
rvk_label:
- [onephrase, 500]
- [and, 250]
- [or, 250]
isbn:
- [onephrase, 500]
isbn_isn_mv:
- [onephrase, 250]
issn:
- [onephrase, 500]
issn_isn_mv:
- [onephrase, 250]
ismn:
- [onephrase, 500]
imprint:
- [onephrase, 500]
- rvk_label
- provenance_txt_mv
- contents_txt_mv
DismaxHandler: edismax
# These are advanced searches that never use Dismax:
id:
......
......@@ -609,11 +609,9 @@ topic = "Subjects"
; Leave this section commented out to disable sharding.
; To use sharding, simply fill in lines using the format:
; [display name of shard] = [URL of shard (without http://)]
[IndexShards]
;[IndexShards]
;Library Catalog = localhost:8983/solr/biblio
;Website = localhost:8983/solr/website
ai = ai.ub.uni-leipzig.de/solr/biblio
main = index.ub.uni-leipzig.de/solr/biblio
; This section allows you to set preferences for shards display. You only need to
; set these if you want to use shards. See also the [StripFields] section below
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment