I know this is not what you were asking for, but in case you haven't seen this before, we have a demo that uses OpenLibrary data:
https://books-search.typesense.org
You'll see the source code linked under the title, and the scripts/indexer directory has code that shows how we parsed this dataset before pushing it into Typesense