Skip to content

Conversation

@veloman-yunkan
Copy link
Collaborator

Fixes #963

@kelson42
Copy link
Contributor

kelson42 commented Apr 16, 2025

@benoit74 to confirm it fixes the issue he reported, then we can merge

@rgaudin rgaudin self-requested a review April 16, 2025 09:42
Copy link

@benoit74 benoit74 left a comment

Choose a reason for hiding this comment

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

Tested with @rgaudin, behavior seems OK now.

Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

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

Tested via pylibzim with the code I mentioned in #963 and expected suggestions are now showing up

there are 5 matches for Paris
['Paris', 'Paris_Love', 'Foo Paris']

@kelson42
Copy link
Contributor

I will merge this PR once the CI is green. It's urgent to move forward with 9.3.0 release

This is just a warm-up commit in this PR.
... so that a new unit test (coming in the next commit) can be added
in a readable form.
The new test case fails because of a bug (#963).
The fix has a side effect that items with empty titles get indexed by
their path.
@kelson42 kelson42 merged commit bc365ee into main Apr 16, 2025
29 checks passed
@kelson42 kelson42 deleted the undetitulization branch April 16, 2025 14:50
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.

Why articles with titles Paris or Miri don't make it into suggestion search

6 participants