MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fts_word_freq_t Struct Reference
Collaboration diagram for fts_word_freq_t:

Public Attributes

byte * word
ib_rbt_tdoc_freqs
ib_uint64_t doc_count
double idf

Detailed Description

To determine the word frequency per document.

Definition at line 231 of file fts0que.cc.

Member Data Documentation

ib_uint64_t fts_word_freq_t::doc_count

Total number of documents that contain this word

Definition at line 238 of file fts0que.cc.

ib_rbt_t* fts_word_freq_t::doc_freqs

RB Tree for storing per document word frequencies. The elements are of type fts_doc_freq_t

Definition at line 235 of file fts0que.cc.

double fts_word_freq_t::idf

Inverse document frequency

Definition at line 240 of file fts0que.cc.

byte* fts_word_freq_t::word

Word for which we need the freq, it's allocated on the query heap

Definition at line 232 of file fts0que.cc.


The documentation for this struct was generated from the following file: