Skip to content

Change the search behaviour#10039

Draft
mojganii wants to merge 1 commit intomainfrom
implement-the-new-search-behaviour-ios-1479
Draft

Change the search behaviour#10039
mojganii wants to merge 1 commit intomainfrom
implement-the-new-search-behaviour-ios-1479

Conversation

@mojganii
Copy link
Contributor

@mojganii mojganii commented Mar 20, 2026

This PR introduces new behavior in location search:

  • For filtering results, match any name that contains the search term string

  • Prefix matches rank higher than contains matches

  • “Starts with” ranks higher than second word

  • Words rank higher the sooner they occur in the name

  • Dashes are not spaces

  • Search terms are matched strictly, separate words are handled as a single string.

  • When searching for a child, do not display the parent as this makes searches like “Za” bring up Croatia, when in reality the user is probably looking for Zagreb.


This change is Reviewable

@mojganii mojganii self-assigned this Mar 20, 2026
@mojganii mojganii added the iOS Issues related to iOS label Mar 20, 2026
@linear
Copy link

linear bot commented Mar 20, 2026

@mojganii mojganii marked this pull request as draft March 20, 2026 08:57
@github-actions
Copy link

🚨 End to end tests failed. Please check the failed workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

iOS Issues related to iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant