#include <TermCache.hpp>
Public Methods | |
| TermCache () | |
| void | add (const char *term, int termID) |
| add a term to the cache. | |
| int | find (const char *term) const |
| lookup a term in the cache. Returns internal termid or -1 if not found. | |
| void | clear () |
| clear the cache. | |
|
|
|
|
||||||||||||
|
add a term to the cache.
|
|
|
clear the cache.
|
|
|
lookup a term in the cache. Returns internal termid or -1 if not found.
|
1.2.18