Fuse: serialize index

Created on 23 Aug 2018  路  4Comments  路  Source: krisk/Fuse

Is it possible to save an index so I don't have to build it but once?
ex:
https://lunrjs.com/guides/index_prebuilding.html

Stale

Most helpful comment

I would like to see this as well. I have a static site. I would like to:

  1. index the site locally at build time
  2. simply upload the pre-built index as a static file to my server
  3. load the index into the browser on the client-side
  4. run search fully in the browser

Is fuse able to save an index to a file and then load an index from a file/url and search from it?

All 4 comments

I would like to see this as well. I have a static site. I would like to:

  1. index the site locally at build time
  2. simply upload the pre-built index as a static file to my server
  3. load the index into the browser on the client-side
  4. run search fully in the browser

Is fuse able to save an index to a file and then load an index from a file/url and search from it?

As far as I can see by looking at the source code there is no indexing process involved. Each time you execute the search it iterates through the original data portion passed to the constructor.

I believe this was answered and closed here: https://github.com/krisk/Fuse/issues/55

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ergcode picture ergcode  路  3Comments

cathy810218 picture cathy810218  路  4Comments

danitrod picture danitrod  路  4Comments

mirzazulfan picture mirzazulfan  路  5Comments

danielfdickinson picture danielfdickinson  路  4Comments