diff --git a/import/marc.properties b/import/marc.properties index 4d8227d7832df97afaede2752cda0d59e9de5371..ede9390da16e784e24d4c2088a4a8b97b84be9c9 100644 --- a/import/marc.properties +++ b/import/marc.properties @@ -12,7 +12,7 @@ building = "Library A" fullrecord = FullRecordAsMarc recordtype = "marc" -allfields = custom, getAllSearchableFields(100, 900) +allfields = custom, getAllSearchableFieldsAsSet(100, 900) language = 008[35-37]:041a:041d:041h:041j, language_map.properties format = custom, getFormat, format_map.properties @@ -29,7 +29,7 @@ title_sub = 245b, first title_short = 245a, first title_full = custom, getAllAlphaSubfields(245, first) title_auth = 245ab, first -title_alt = 130adfgklnpst:240a:246a:730adfgklnpst:740a +title_alt = 100t:130adfgklnpst:240a:246a:505t:700t:710t:711t:730adfgklnpst:740a title_old = 780ast title_new = 785ast title_sort = custom, getSortableTitle diff --git a/solr/biblio/conf/schema.xml b/solr/biblio/conf/schema.xml index 205fc1ac2d4722311f83460d70f904a10b4ff506..dfe0aa082fa95ae2b355dc3fe3da4740fc35d109 100644 --- a/solr/biblio/conf/schema.xml +++ b/solr/biblio/conf/schema.xml @@ -98,11 +98,11 @@ <field name="id" type="string" indexed="true" stored="true"/> <field name="fullrecord" type="string" indexed="false" stored="true"/> <field name="marc_error" type="string" indexed="false" stored="true" multiValued="true"/> - <field name="allfields" type="text" indexed="true" stored="false"/> - <field name="allfields_unstemmed" type="textProper" indexed="true" stored="false"/> + <field name="allfields" type="text" indexed="true" stored="false" multiValued="true"/> + <field name="allfields_unstemmed" type="textProper" indexed="true" stored="false" multiValued="true"/> <field name="fulltext" type="text" indexed="true" stored="false"/> <field name="fulltext_unstemmed" type="textProper" indexed="true" stored="false"/> - <field name="spelling" type="textSpell" indexed="true" stored="true"/> + <field name="spelling" type="textSpell" indexed="true" stored="true" multiValued="true"/> <field name="spellingShingle" type="textSpellShingle" indexed="true" stored="true" multiValued="true"/> <!-- Institutional Fields --> <field name="institution" type="string" indexed="true" stored="true" multiValued="true"/> @@ -236,6 +236,9 @@ <copyField source="topic" dest="topic_browse"/> <copyField source="author" dest="author_browse"/> <copyField source="author2" dest="author_browse"/> + <!-- CopyFields for All Fields --> + <copyField source="format" dest="allfields"/> + <copyField source="format" dest="allfields_unstemmed"/> <!-- Default Boolean Operator --> <solrQueryParser defaultOperator="AND"/> </schema>