objectbox / objectbox/objectbox-dart

Support locale aware ordering (accents, etc.)

Open
#484 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Dart
Stars
1.2k
Forks
162
Avg merge
15m
Merged PRs (30d)
1

Description

I wanna a way to ignore diacritics when a search a data in object box?

for example I like to find users with name joe, jóe or joé

Query<User> query = userBox.query(
            User_.firstName.equal('joe')
        .build();
        
// or use operator overloads:
Query<User> query = userBox.query(User_.firstName.equal('Joe'))
        .build();

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

Start with the query API entry point used by User_.firstName.equal and review how string matching is specified. Confirm the intended behavior for joe, jóe, and joé, including whether it applies to ordering as well as search. The issue names no files or tests, so the implementation and verification locations require project research.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.