In your README, you write, "Lunr.py provides a backend solution, allowing you to parse the documents ahead of time and create a Lunr.js compatible index you can pass have the browser version read, minimizing start up time of your application."
This is exactly what I'd like to do. However, aside from this brief mention, I can find no documentation on how to do this. There's a lot of great example on how to create indexes in Python, but it's unclear how to save or export these indexes for use elsewhere, like you describe.
Is serialization currently supported by lunr.py? If so, how do you export a serialized index suitable for loading into lunr.js?
In your README, you write, "Lunr.py provides a backend solution, allowing you to parse the documents ahead of time and create a Lunr.js compatible index you can pass have the browser version read, minimizing start up time of your application."
This is exactly what I'd like to do. However, aside from this brief mention, I can find no documentation on how to do this. There's a lot of great example on how to create indexes in Python, but it's unclear how to save or export these indexes for use elsewhere, like you describe.
Is serialization currently supported by lunr.py? If so, how do you export a serialized index suitable for loading into lunr.js?