igor_nadein
3aa0dadf2e
feat: Replace custom search with django-watson
- Installed django-watson 1.6.3
- Added watson to INSTALLED_APPS
- Created search_indexes.py with model registrations:
* Post (title, body)
* Employee (name, email, phone)
* Department (name, description)
* Request (title, comment)
* Chat (name, description)
* Message (content)
* CalendarEvent (title, description)
- Replaced search/views.py (484 lines → 158 lines)
- Applied watson migrations and built search indexes (1015 entries)
- Tested search functionality
Benefits:
- 67% code reduction (326 lines removed)
- Better search relevance with full-text indexing
- Automatic ranking and highlighting
- Less maintenance burden
2026-02-27 18:12:21 +03:00
..
2026-01-07 15:50:07 +03:00
2026-02-25 00:38:54 +03:00
2026-02-27 18:12:21 +03:00
2025-08-05 15:30:41 +03:00
2025-12-02 10:53:24 +03:00
2025-08-05 15:30:41 +03:00
2025-08-20 11:19:02 +03:00
2025-12-09 16:14:30 +03:00
2025-09-22 14:34:49 +03:00
2026-01-05 12:01:33 +03:00
2025-09-01 17:15:05 +03:00
2026-02-06 15:33:48 +03:00
2025-12-02 09:23:51 +03:00
2025-08-25 17:01:58 +03:00
2025-11-20 09:00:55 +03:00
2025-10-20 17:08:40 +03:00
2026-01-05 11:20:56 +03:00
2026-02-27 16:36:16 +03:00