Deserializing #743
Unanswered
ted-at-change
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am considering this library. I am confused by the parseIndex example code in the docs, to deserialize an index.
If I serialize an index and send it over the wire to a front end client, it appears, from line 12, that the client needs both the options and the dataset to be able to deserialize the index. This seems pretty odd. Am I missing something?
I just tried out lunr.js, and there is a single call to serialize an entire index with options, and a single call to deserialize the index on the other side, with no parameters.
Beta Was this translation helpful? Give feedback.
All reactions