wrolpi/modules/videos/test
lrnselfreliance 45b52a698e
Search: drop stopwords from unquoted terms, as Postgres did (#1085)
Postgres' english websearch_to_tsquery dropped stopwords; FTS5 indexes them.
A stopword matches most of the library, so a search containing one read its
whole doclist (slow on a cold HDD) and only found files that happened to
contain it.  translate_websearch now drops Postgres' english stopword list
from unquoted terms; quoted phrases keep them.

A search with nothing left to search (stopwords or punctuation only) now
matches nothing in archive, video and doc search too, as files search, the
search estimates and Postgres already did, instead of listing everything.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 17:16:36 -07:00
..
__init__.py A new start 2021-11-01 16:43:09 -06:00
test_api.py Search: drop stopwords from unquoted terms, as Postgres did (#1085) 2026-12-03 17:16:36 -07:00
test_audio_modeling.py files: shared modeler batch loop for video, doc, zim, archive (#722) 2026-09-24 16:47:46 -06:00
test_channel_directory_scenarios.py db: write intent is the opt-in, not a second session helper 2026-08-07 20:15:50 -06:00
test_channel_refresh_events.py videos: silence the automatic channel refresh before downloads (#671) 2026-08-20 15:15:18 -06:00
test_channel_refresh_external_files.py Displaying download progress (speed, eta) for file and video downloads. 2026-03-12 19:31:35 -06:00
test_channels_config.py Database configs carry a version the database keeps too (#866) 2026-10-24 14:58:18 -06:00
test_channels_config_import.py A channels.yaml import keeps a Channel's once-Downloads (#898) 2026-10-29 16:59:56 -06:00
test_common.py The tail-decode check ignores the h264 decoder's "mmco: unref short failure" note (#938) 2026-11-02 18:00:03 -07:00
test_cookies.py Using shared context to sync cookies between processes. 2026-02-22 14:32:27 -07:00
test_downloader.py A download records the sha256 of its files in the wrolpi section (#904) 2026-10-30 19:34:49 -06:00
test_lib.py Remove code that only tests called (#888) 2026-10-27 16:00:27 -06:00
test_models.py Remove code that only tests called (#888) 2026-10-27 16:00:27 -06:00
test_transcode.py Video transcodes run at the least CPU priority (#824) 2026-10-12 12:10:44 -06:00
test_transcode_audio.py videos: transcode can remove the audio stream (silent video) (#737) 2026-09-26 17:49:14 -06:00
test_transcode_job.py A transcode or remux refreshes the sha256 sums a download recorded (#906) 2026-10-30 19:41:29 -06:00
test_video.py Removing a duplicate video keeps the Download that is finishing (#942) 2026-11-02 19:18:46 -07:00
test_video_edit.py db: request-path library functions use the request's connection (#774) 2026-10-04 11:05:20 -06:00
test_video_modeler_loop.py Fixing bug where not all archives were modeled. 2025-12-18 17:19:57 -07:00
test_video_url_resolver.py Trying to get existing channel using more variations of Youtube URLs. 2026-03-20 17:26:51 -06:00