JASSv2
Classes | Functions
index_postings.h File Reference

Non-thread-Safe object that holds a single postings list during indexing. More...

#include <map>
#include <tuple>
#include <sstream>
#include <iostream>
#include "maths.h"
#include "posting.h"
#include "dynamic_array.h"
#include "compress_integer.h"
#include "allocator_pool.h"
#include "index_postings_impact.h"
#include "compress_integer_variable_byte.h"
Include dependency graph for index_postings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JASS::index_postings
 Non-thread-safe object that accumulates a single postings list during indexing. More...
 
class  JASS::index_postings::posting
 The representation of a single postings as a tuple of docid, term frequency and position. More...
 

Functions

std::ostream & JASS::operator<< (std::ostream &stream, const index_postings &data)
 Dump a human readable version of the postings list down an output stream. More...
 

Detailed Description

Non-thread-Safe object that holds a single postings list during indexing.

Author
Andrew Trotman

Function Documentation

◆ operator<<()

std::ostream& JASS::operator<< ( std::ostream &  stream,
const index_postings data 
)
inline

Dump a human readable version of the postings list down an output stream.

Parameters
stream[in] The stream to write to.
data[in] The postings list to write.
Returns
The stream once the postings list has been written.