xapian-core  2.0.0
Variables
wdf-norm-dispatch.h File Reference

Map string to wdf normalisation code. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const unsigned char wdf_norm_tab []
 

Detailed Description

Map string to wdf normalisation code.

Definition in file wdf-norm-dispatch.h.

Variable Documentation

◆ wdf_norm_tab

const unsigned char wdf_norm_tab[]
static
Initial value:
= {
11,
1, 1, 19, 8, 1, 0, 32, 1,
1, 1, 57,
(1 - 1),
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::SQUARE), 'S','Q','U','A','R','E',
(2 - 1),
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::NONE), 'N','O','N','E',
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::SQRT), 'S','Q','R','T',
(3 - 1),
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::AUG), 'A','U','G',
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::LOG), 'L','O','G',
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::MAX), 'M','A','X',
(3 - 1),
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::AUG_LOG), 'A','U','G','_','L','O','G',
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::BOOLEAN), 'B','O','O','L','E','A','N',
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::PIVOTED), 'P','I','V','O','T','E','D',
(2 - 1),
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::AUG_AVERAGE), 'A','U','G','_','A','V','E','R','A','G','E',
static_cast<unsigned char>(Xapian::TfIdfWeight::wdf_norm::LOG_AVERAGE), 'L','O','G','_','A','V','E','R','A','G','E'
}
@ AUG
Augmented max wdf.
@ AUG_AVERAGE
Augmented average term frequency.

Definition at line 25 of file wdf-norm-dispatch.h.

Referenced by Xapian::TfIdfWeight::create_from_parameters().