Materials-Consortia / Materials-Consortia/optimade-python-tools

Case-sensitivity of string searches

Open
#2,268 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

suggestions transformers
Dominant language
Python
Stars
91
Forks
54
PR merge metrics
No merged PRs in 30d

Description

As reported by @mehmetgiritli, it would be helpful if searches for e.g., /references?filter=authors.lastname HAS "Evans" could be done case-insensitively... I'm not sure where the spec lies on this but it's certainly useful from a user perspective.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by reading the OPTIMADE search specification and tracing how the HAS filter is handled for /references?filter=authors.lastname HAS "Evans"; confirm whether case-insensitive matching is permitted before locating the implementation. Done means the behavior is specified and the example search works case-insensitively with coverage for the relevant search path.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, python
Domain
api, backend, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.