MySQL 9.0.0
Source Code Documentation
fts_word_freq_t Struct Reference

To determine the word frequency per document. More...

Public Attributes

fts_string_t word
 Word for which we need the freq, it's allocated on the query heap. More...
 
ib_rbt_tdoc_freqs
 RB Tree for storing per document word frequencies. More...
 
uint64_t doc_count
 Total number of documents that contain this word. More...
 
double idf
 Inverse document frequency. More...
 

Detailed Description

To determine the word frequency per document.

Member Data Documentation

◆ doc_count

uint64_t fts_word_freq_t::doc_count

Total number of documents that contain this word.

◆ doc_freqs

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

◆ idf

double fts_word_freq_t::idf

Inverse document frequency.

◆ word

fts_string_t fts_word_freq_t::word

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


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