mirror of
https://github.com/koel/koel.git
synced 2026-04-26 09:15:59 +03:00
[PR #1269] [MERGED] feat: add full-text search module #1664
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1664
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/1269
Author: @phanan
Created: 12/25/2020
Status: ✅ Merged
Merged: 12/25/2020
Merged by: @phanan
Base:
master← Head:search📝 Commits (10+)
84a72d2feat: add Laravel Scount & TNTSearch5293bd9feat: add import:search commandef7d00efeat: guess Model class automagicallydbb91d2chore: rename the search:import command201da1cfeat: add Excerpt searcha4ef8b0chore: remove public/mix-manifest.json from trackingc9fe724feat: add Song searchcacca23chore: sync with core588b30dfeat: modify the response format for search8fc7564chore: sync with core📊 Changes
30 files changed (+1097 additions, -97 deletions)
View changed files
📝
api-docs/5.0.0/reference/api.v5.yaml(+82 -10)➕
app/Console/Commands/ImportSearchableEntitiesCommand.php(+33 -0)➕
app/Http/Controllers/API/Search/ExcerptSearchController.php(+35 -0)➕
app/Http/Controllers/API/Search/SongSearchController.php(+29 -0)📝
app/Models/Album.php(+24 -7)📝
app/Models/Artist.php(+18 -7)📝
app/Models/Playlist.php(+6 -6)📝
app/Models/Song.php(+17 -0)📝
app/Repositories/AbstractRepository.php(+16 -4)📝
app/Repositories/AlbumRepository.php(+2 -5)📝
app/Repositories/ArtistRepository.php(+2 -5)📝
app/Repositories/InteractionRepository.php(+0 -5)📝
app/Repositories/PlaylistRepository.php(+0 -5)📝
app/Repositories/RepositoryInterface.php(+0 -2)📝
app/Repositories/SettingRepository.php(+0 -7)📝
app/Repositories/SongRepository.php(+3 -5)➕
app/Repositories/Traits/Searchable.php(+13 -0)📝
app/Repositories/UserRepository.php(+0 -6)📝
app/Services/FileSynchronizer.php(+1 -1)➕
app/Services/SearchService.php(+68 -0)...and 10 more files
📄 Description
Adding a full-text search module powered by Laravel Scout. By default, the driver is TNTSearch.
To generate the search indices, run
php artisan koel:search:import.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.