docling might be a good way to go here. Or consider one of the existing full text search engines like Typesense.