Reusing previously generated index file
See original GitHub issueDescription
I intend to use Fuse with Google firebase
in the doc:
const myIndex = Fuse.createIndex(options.keys, books)
const myFuse = new Fuse(books, options, myIndex)
we need to recollect all books
and regenerate the index whenever a new book is added.
Describe the solution you’d like
is it possible to:
- loads the old index file,
- add one new book to it,
- and then regenerate the new index file ?
and in this line const myFuse = new Fuse(books, options, myIndex)
why do we need all books
as an argument? why not use some
information like an ID that is already accessible from myIndex
? as how they do it in Lunr.js
Thank you !
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to reuse an Index that already created using Apache ...
It is absolutely possible. Assuming indexDirPath is the location of your lucene index, you can use the following code:
Read more >How to Change your Default Index Page in the htaccess file
htaccess file. You can reset the File Manager settings by logging into cPanel and then going to the bottom of the screen and...
Read more >Search indexing in Windows 10: FAQ - Microsoft Support
Indexing is the process of looking at files, email messages, and other content on your PC and cataloging their information, such as the...
Read more >Using index files when working with Sass and @use rules
Using these index files allow us to use @forward rules in a _index. scss file so that when we load the URL of...
Read more >create-index - GitHub
create-index program creates (and maintains) ES6 ./index.js file in target directories that imports and exports sibling files and directories. Example. > tree ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@krisk
and also by the way, you have the coolest github profile photo i have seen so far !
@krisk
hey thank you for teaching me this kind of fun stuff, that table looked absurd to me at the very beginning, 1000 times better than everyone else? that must be either turing’s work or an ignorant joke.
great work from you !