Skip to content

fix(epignosis/openlibrary): lowercase limit param (Solr ignores uppercase)#216

Merged
forkwright merged 1 commit intomainfrom
fix/openlibrary-limit-param-case
Apr 22, 2026
Merged

fix(epignosis/openlibrary): lowercase limit param (Solr ignores uppercase)#216
forkwright merged 1 commit intomainfrom
fix/openlibrary-limit-param-case

Conversation

@forkwright
Copy link
Copy Markdown
Owner

Summary

Open Library's Solr backend treats query parameter names as case-sensitive. The existing code at crates/epignosis/src/providers/openlibrary.rs:65 passed "LIMIT" (uppercase); Solr silently drops unknown parameters and returns its default page size instead of the requested 10. Every search() call was over-fetching.

Finding source

Research report for issue #210 at /tmp/research-harmonia-210-ebook-metadata.md called this out as a real pre-existing bug worth fixing inline during the #210 expansion arc.

Test plan

  • One-line casing fix
  • Forge CI green

Related: #210

…ercase

Open Library's Solr backend treats query parameter names as case-sensitive;
"LIMIT" is silently dropped and the server returns its default page size
instead of the requested 10. Silently over-fetching on every call.

Surfaced by the #210 ebook-metadata research report
(/tmp/research-harmonia-210-ebook-metadata.md).
@forkwright forkwright merged commit 4ff2289 into main Apr 22, 2026
1 check passed
@forkwright forkwright deleted the fix/openlibrary-limit-param-case branch April 22, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant