xapian-core  1.4.27
Functions
index_utils.cc File Reference

utility functions for indexing testcase data More...

#include <config.h>
#include "index_utils.h"
#include "errno_to_string.h"
#include "stringutils.h"
#include <algorithm>
#include <cerrno>
#include <cstring>
#include <fstream>
+ Include dependency graph for index_utils.cc:

Go to the source code of this file.

Functions

static string munge_term (const string &term)
 
static string get_paragraph (istream &input)
 Read a paragraph from stream input. More...
 

Detailed Description

utility functions for indexing testcase data

Definition in file index_utils.cc.

Function Documentation

◆ get_paragraph()

static string get_paragraph ( istream &  input)
static

Read a paragraph from stream input.

Definition at line 39 of file index_utils.cc.

References C_isnotspace().

Referenced by FileIndexer::index_to().

◆ munge_term()

static string munge_term ( const string &  term)
static

Definition at line 117 of file index_utils.cc.

References C_isalnum(), C_isxdigit(), C_tolower(), and hex_decode().

Referenced by FileIndexer::index_to().