#include <indexer.h>
Public Member Functions | |
Indexer (Engine &engine) | |
~Indexer () | |
void | set_index_buffer_threshold (uint32_t mega_bytes) |
bool | add (Document &doc) |
bool | add (Document *doc) |
bool | del (Document &doc) |
bool | del (Document *doc) |
Lux::Indexer::Indexer | ( | Engine & | engine | ) |
constructor
engine | database engine object |
Lux::Indexer::~Indexer | ( | ) |
destructor
bool Lux::Indexer::add | ( | Document * | doc | ) |
add a document to the engine
pointer | to Document |
bool Lux::Indexer::add | ( | Document & | doc | ) |
add a document to the engine
reference | to Document |
bool Lux::Indexer::del | ( | Document * | doc | ) |
delete a document from the engine
pointer | to Document |
bool Lux::Indexer::del | ( | Document & | doc | ) |
delete a document from the engine
reference | to Document |
void Lux::Indexer::set_index_buffer_threshold | ( | uint32_t | mega_bytes | ) |
set index buffer size threshold
mege_bytes | It can be specified size in mega bytes |