|
JASSv2
|
Base class for the callback function called by iterate. More...
#include <index_manager.h>

Public Member Functions | |
| virtual | ~quantizing_delegate () |
| Destructor. | |
| virtual void | operator() (delegate &callback, const slice &term, const index_postings &postings, compress_integer::integer document_frequency, compress_integer::integer *document_ids, index_postings_impact::impact_type *term_frequencies)=0 |
| The callback function to serialise the postings (given the term) is operator(). More... | |
| virtual void | operator() (delegate &callback, size_t document_id, const slice &primary_key)=0 |
| The callback function to serialise the primary keys (external document ids) is operator(). More... | |
Base class for the callback function called by iterate.
|
pure virtual |
The callback function to serialise the postings (given the term) is operator().
callback [in] The callback to export once quantised.
| term | [in] The term name. |
| postings | [in] The postings lists. |
| document_frequency | [in] The document frequency of the term |
| document_ids | [in] An array (of length document_frequency) of document ids. |
| term_frequencies | [in] An array (of length document_frequency) of term frequencies (corresponding to document_ids). |
Implemented in JASS::quantize< RANKER >, and JASS::quantize_none< RANKER >.
|
pure virtual |
The callback function to serialise the primary keys (external document ids) is operator().
callback [in] The callback to export once quantised.
| document_id | [in] The internal document identfier. |
| primary_key | [in] This document's primary key (external document identifier). |
Implemented in JASS::quantize< RANKER >, and JASS::quantize_none< RANKER >.
1.8.13