Skip to content

darkac/Static_CacheFrame

Repository files navigation

Static_CacheFrame

A Framework for Static Caching in Web Search Engines (DIRECT_IO is applied to bypass the OS buffer).

Usage:

  1. SCacheFrame *SCF = new SCacheFrame(MEMORYSIZE, "dictname", &dict); // Note that SCF should be defined as a global variable

  2. For each term, ListHandler *LH = new ListHandler(termid, DictItem _item); // See the definition of DictItem in MemoryDict.h

  3. For more details, please refer to testSCF_threads.cpp.

Besides, this module is multi-thread safe.

About

A Framework for Static Caching in Web Search Engines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors