Skip to content

[pull] master from ruby:master#103

Merged
pull[bot] merged 4 commits intosysfce2:masterfrom
ruby:master
Dec 18, 2025
Merged

[pull] master from ruby:master#103
pull[bot] merged 4 commits intosysfce2:masterfrom
ruby:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Dec 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

st0012 and others added 4 commits December 18, 2025 12:09
Rebuild Aliki's search mechanism with a custom search index and improved
ranking algorithm.

Key changes:
- Aliki now generates its own search index (`js/search_data.js`) instead
of using the shared JsonIndex generator (can be removed along with
Darkfish in the future)
- New search ranking algorithm with better prioritization:
- Lowercase queries prioritize methods; uppercase queries prioritize
classes/modules/constants
  - Exact matches rank higher; shorter names preferred
- Class methods rank above instance methods (I don't have strong opinion
on this one)
- Search results now display type badges (class, module, const, method)
- Constants are now included in search results

Closes #1497 

<img width="50%" alt="Screenshot 2025-12-16 at 17 57 50"
src="https://github.com/user-attachments/assets/689cd862-3669-43f7-93e1-218923f3cd0e"
/>
Styling only applied to `#search-results`. I added a common class to
both mobile and desktop to use instead. Also renamed `#search-results`
to `#search-results-desktop` to avoid ambiguity with the new class.
@pull pull bot locked and limited conversation to collaborators Dec 18, 2025
@pull pull bot added the ⤵️ pull label Dec 18, 2025
@pull pull bot merged commit 85ac545 into sysfce2:master Dec 18, 2025
3 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants