geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
411 stars 487 forks source link

subject field in CSW is case sensitive #3930

Open pvgenuchten opened 5 years ago

pvgenuchten commented 5 years ago

see

https://vanilla.geocat.net/geonetwork/srv/dut/csw?request=GetRecords&service=CSW&version=2.0.2&elementsetname=full&typenames=gmd%3AMD_Metadata&RESULTTYPE=results&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&maxRecords=100&startPosition=1&constraint=%28%28Subject+LIKE+%27%25boundaries%25%27%29%29

vs

https://vanilla.geocat.net/geonetwork/srv/dut/csw?request=GetRecords&service=CSW&version=2.0.2&elementsetname=full&typenames=gmd%3AMD_Metadata&RESULTTYPE=results&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&maxRecords=100&startPosition=1&constraint=%28%28Subject+LIKE+%27%25Boundaries%25%27%29%29

users don't expect this type of fields to be case sensitive

fxprunayre commented 5 years ago

I think keyword are indexed with a KeywordAnalyzer so it is case sensitive due to that. An option would be to add another field with a StandardAnalyzer