Skip to content

[OS-14] Find extraction text in languages without word spaces #552

Open

Description

@sickerine

An extraction paper titled 日本における学校教育の現状と課題 cannot be found by its full title or by 教育. This reproduced against the real preview search index in Chromium and Firefox. The Unicode normalization repair preserves the text but does not change the index's word boundaries.

Convex's current tokenizer splits on non-alphanumeric characters and drops long terms: https://github.com/get-convex/convex-backend/blob/main/crates/search/src/constants.rs. Research titles in scripts without spaces need a supported search strategy without silently dropping query terms or returning unrelated papers.

Done when full-title and meaningful mid-title searches find Chinese and Japanese papers and answers, result counts and exports agree, and the behavior is verified on the real backend at the existing extraction job limit. Include long input, no matches, combining marks and mixed scripts.

Out of scope: PDF search, embeddings and model reruns. Preserve the existing query pagination and permission checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions