MITRECND / snugglefish

Simple NGram Fast Indexer & Searcher
36 stars 8 forks source link

Newly created indexes #7

Closed DigitalMaxim closed 9 years ago

DigitalMaxim commented 9 years ago

Hello, Should I change name for newly created indexes before replacing them to the directory specified in CRITs? I see that a new index has exactly the same name as previous old index - CW.index00000000. If I move new index (all three files) to the directory with an old index it will replace it. Is it OK? Thanks

wxsBSD commented 9 years ago

No, you don't want to change the name. When adding new files to an existing index you need to have the old index around so that snugglefish can recognize that and append to the existing index.