You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an npm module, lunr which you can use in node. Other than requiring the module, as you would with any node module, there is no difference in how lunr works in a browser or in node.
As for persisting/loading the index, at the moment you can serialize an index with JSON.stringify and lunr.Index.load, actually saving this json to disk is not something that is part of lunr, you can implement that however best fits your use case.
@olivernn, help me with these questions:
thank you
The text was updated successfully, but these errors were encountered: