style(search): remove em dashes from PR1 comments/docstrings

This commit is contained in:
stumpylog
2026-08-28 09:35:24 -07:00
parent 9e9f3f4e09
commit 2f79549f92
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from whoosh_compat import SubpathSpec
# Internal-only schema fields with no query-syntax meaning of their own
# (sort shadow fields, bigram CJK fields, simple_title/simple_content,
# autocomplete_word, notes_text) are NOT represented here they are
# autocomplete_word, notes_text) are NOT represented here, they are
# declared in _schema.py's field_descriptors().
#
# analyzer/pattern_normalizer are deliberately left at FieldSpec's default
+1 -1
View File
@@ -64,7 +64,7 @@ def get_field_registry(language: str | None) -> FieldRegistry:
"""Build (or return the cached) FieldRegistry for the given search language.
Cached keyed by language, rebuilt on the same trigger register_tokenizers()
uses (settings.SEARCH_LANGUAGE change) — a fresh call with a new language
uses (settings.SEARCH_LANGUAGE change). A fresh call with a new language
builds and caches a new registry rather than mutating the old one.
"""
if language in _registry_cache:
+1 -1
View File
@@ -76,7 +76,7 @@ def _public_field_descriptors() -> list[FieldDescriptor]:
),
)
if field.name == "notes":
# Plain-text companion for snippet generation tantivy's
# Plain-text companion for snippet generation: tantivy's
# SnippetGenerator does not support JSON fields. Schema-only,
# no query-syntax meaning, not in PUBLIC_FIELDS.
descriptors.append(