serializers: PaperListSerializer 加 pdf_url / xml_url SerializerMethodField,基于 publication_date + safe_doi 后端拼 absolute_uri;has_fulltext_{pdf,xml}=False 或 publication_date 缺失返空串。LLM 客户端从 list 一次拿到直链,不必拼 URL。
migration 0006: CREATE EXTENSION IF NOT EXISTS pg_trgm + 3 列 GIN 索引(title / first_author / first_author_institution),根治 SearchFilter 跨列 ILIKE '%xxx%' 全表扫 timeout(高频词如 cement 原本 30s+,加索引后几十 ms)。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| 0001_initial.py | ||
| 0002_paper_has_abstract_xml_paper_has_fulltext_pdf_and_more.py | ||
| 0003_paper_o_keywords.py | ||
| 0004_alter_paper_fail_reason.py | ||
| 0005_alter_paper_fetch_status.py | ||
| 0006_pg_trgm_index.py | ||
| __init__.py | ||