Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dumpindex.cpp File Reference

#include "indri/Repository.hpp"
#include "indri/CompressedCollection.hpp"
#include "indri/LocalQueryServer.hpp"
#include "indri/ScopedLock.hpp"
#include "indri/QueryEnvironment.hpp"
#include <iostream>

Defines

#define REQUIRE_ARGS(n)   { if( argc < n ) { usage(); return -1; } }

Functions

void print_expression_count (const std::string &indexName, const std::string &expression)
void print_expression_list (const std::string &indexName, const std::string &expression)
void validate (indri::collection::Repository &r)
void print_invfile (indri::collection::Repository &r)
void print_vocabulary (indri::collection::Repository &r)
void print_field_positions (indri::collection::Repository &r, const std::string &fieldString)
void print_term_positions (indri::collection::Repository &r, const std::string &termString)
void print_term_counts (indri::collection::Repository &r, const std::string &termString)
void print_document_name (indri::collection::Repository &r, const char *number)
void print_document_text (indri::collection::Repository &r, const char *number)
void print_document_data (indri::collection::Repository &r, const char *number)
void print_document_vector (indri::collection::Repository &r, const char *number)
void print_document_id (indri::collection::Repository &r, const char *an, const char *av)
void print_repository_stats (indri::collection::Repository &r)
void merge_repositories (const std::string &outputPath, int argc, char **argv)
void compact_repository (const std::string &repositoryPath)
void delete_document (const std::string &repositoryPath, const char *stringDocumentID)
void usage ()
 Prints out useful usage information.

int main (int argc, char **argv)

Define Documentation

#define REQUIRE_ARGS  )     { if( argc < n ) { usage(); return -1; } }
 


Function Documentation

void compact_repository const std::string &  repositoryPath  ) 
 

void delete_document const std::string &  repositoryPath,
const char *  stringDocumentID
 

int main int  argc,
char **  argv
 

void merge_repositories const std::string &  outputPath,
int  argc,
char **  argv
 

void print_document_data indri::collection::Repository r,
const char *  number
 

void print_document_id indri::collection::Repository r,
const char *  an,
const char *  av
 

void print_document_name indri::collection::Repository r,
const char *  number
 

void print_document_text indri::collection::Repository r,
const char *  number
 

void print_document_vector indri::collection::Repository r,
const char *  number
 

void print_expression_count const std::string &  indexName,
const std::string &  expression
 

void print_expression_list const std::string &  indexName,
const std::string &  expression
 

void print_field_positions indri::collection::Repository r,
const std::string &  fieldString
 

void print_invfile indri::collection::Repository r  ) 
 

void print_repository_stats indri::collection::Repository r  ) 
 

void print_term_counts indri::collection::Repository r,
const std::string &  termString
 

void print_term_positions indri::collection::Repository r,
const std::string &  termString
 

void print_vocabulary indri::collection::Repository r  ) 
 

void usage  ) 
 

Prints out useful usage information.

void validate indri::collection::Repository r  ) 
 


Generated on Tue Jun 15 11:02:56 2010 for Lemur by doxygen 1.3.4