Lux::Indexer Class Reference

#include <indexer.h>

List of all members.

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)


Detailed Description

indexer interface


Constructor & Destructor Documentation

Lux::Indexer::Indexer ( Engine engine  ) 

constructor

Parameters:
engine database engine object

Lux::Indexer::~Indexer (  ) 

destructor


Member Function Documentation

bool Lux::Indexer::add ( Document doc  ) 

add a document to the engine

Parameters:
pointer to Document

bool Lux::Indexer::add ( Document doc  ) 

add a document to the engine

Parameters:
reference to Document

bool Lux::Indexer::del ( Document doc  ) 

delete a document from the engine

Parameters:
pointer to Document
Note:
deletion is only logically for now

bool Lux::Indexer::del ( Document doc  ) 

delete a document from the engine

Parameters:
reference to Document
Note:
deletion is only logically for now

void Lux::Indexer::set_index_buffer_threshold ( uint32_t  mega_bytes  ) 

set index buffer size threshold

Parameters:
mege_bytes It can be specified size in mega bytes
Note:
It is a hint to the engine, so it can use more memory than specified


The documentation for this class was generated from the following files:
Generated on Fri Feb 5 15:50:30 2010 for Lux by  doxygen 1.4.7