Skip to content

Query exact matches API - #37

Merged
kngai merged 1 commit into
woudc:masterfrom
nalduu:query_exact_matches_API
Aug 20, 2026
Merged

kngai merged 1 commit into
woudc:masterfrom
nalduu:query_exact_matches_API

Conversation

@nalduu

@nalduu nalduu commented Aug 18, 2026

Copy link
Copy Markdown
Contributor
  • Utilize the query parameter in pygeoapi's query method to search for exact strings
  • Handle query values that contain special ES chars and tokenizers

@nalduu
nalduu force-pushed the query_exact_matches_API branch from 807b56f to f093b93 Compare August 18, 2026 20:14

@kngai kngai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change

Comment thread woudc_api/provider/elasticsearch.py Outdated

return dataset

def escape_special_chars(self, text):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def escape_special_chars(self, text):
def _escape_special_chars(self, text):

Convert to a private method

Comment thread woudc_api/provider/elasticsearch.py Outdated
@nalduu
nalduu force-pushed the query_exact_matches_API branch from 01c384f to 051df2f Compare August 20, 2026 18:24
@kngai
kngai merged commit 9462940 into woudc:master Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants