ceskaexpedice / kramerius

System Kramerius
GNU General Public License v3.0
45 stars 26 forks source link

K7 SOLR schema - doplnění physical_locations.search pole s typem text_fgs #865

Open filak opened 3 years ago

filak commented 3 years ago

Údaj/faseta physical_locations by měla být indexována case insensitive - srovnej:

https://www.digitalniknihovna.cz/mzk/search?locations=Ingolstadt - OK

https://www.digitalniknihovna.cz/mzk/search?locations=INGOLSTADT - OK

https://k7-test.mzk.cz/mzkk7/search?locations=Ingolstadt - OK

https://k7-test.mzk.cz/mzkk7/search?locations=INGOLSTADT - NOT OK

https://k7-test.mzk.cz/mzkk7/search?locations=BOA001 - OK

https://k7-test.mzk.cz/mzkk7/search?locations=boa001 - NOT OK

    <!--publishers-->
    <field name="publishers.search" type="text_fgs" indexed="true" stored="true" multiValued="true" docValues="false"/>
    <field name="publishers.facet" type="string" indexed="true" stored="true" multiValued="true" docValues="true"/>

    <!--physical locations-->
    <field name="physical_locations.facet" type="string" indexed="true" stored="true" multiValued="true" docValues="true"/>

Stačí doplnit:

  <field name="physical_locations.search" type="text_fgs" indexed="true" stored="true" multiValued="true" docValues="false"/>
filak commented 2 years ago

Bylo již toto ošetřeno ve schématu ?