Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CSW query type and fields configurable #912

Merged
merged 5 commits into from
Jan 27, 2023

Conversation

ZakarFin
Copy link
Member

@ZakarFin ZakarFin commented Jan 26, 2023

So it's easier to test between "full", "summary", "brief" responses and try optimizing anyText -> Title, Abstract etc for slower services.

Adds configuration options to oskari-ext.properties:

# Valid values: summary, brief, full (defaults to "summary")
search.channel.METADATA_CATALOGUE_CHANNEL.queryType=summary
# comma-separated list - defaults to csw:anyText
search.channel.METADATA_CATALOGUE_CHANNEL.queryFields=Title, Abstract

Also reduces max results from 10000 (that we never use) to 100 (that geonetwork can more probably handle)

@ZakarFin ZakarFin added this to the 2.10.0 milestone Jan 26, 2023
@ZakarFin ZakarFin merged commit 09d6baf into oskariorg:develop Jan 27, 2023
@ZakarFin ZakarFin deleted the csw-query-params branch January 27, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant