fix: Hardcover title search failing for every query #73

Merged
jfro merged 1 commit from jtk/hardcover-title-search into main 2026-10-25 18:27:34 +00:00
Owner

Passing custom fields/weights to Hardcover's search makes Typesense
reject the query ("Number of values in num_typos does not match number
of query_by fields"), which Hardcover returns as results: nil. Use the
default search fields instead, and request and log the error field so
search failures are visible.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Passing custom `fields`/`weights` to Hardcover's search makes Typesense reject the query ("Number of values in `num_typos` does not match number of `query_by` fields"), which Hardcover returns as `results: nil`. Use the default search fields instead, and request and log the `error` field so search failures are visible. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix: Hardcover title search failing for every query
All checks were successful
CI / test (pull_request) Successful in 48s
03d5272ac5
Passing custom `fields`/`weights` to Hardcover's search makes Typesense
reject the query ("Number of values in `num_typos` does not match number
of `query_by` fields"), which Hardcover returns as `results: nil`. Use the
default search fields instead, and request and log the `error` field so
search failures are visible.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jfro merged commit 1fc83a3585 into main 2026-10-25 18:27:34 +00:00
jfro deleted branch jtk/hardcover-title-search 2026-10-25 18:40:42 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/fuzzy_catalog!73
No description provided.