MySQL 8.0.40
Source Code Documentation
fts_select_t Struct Reference

For matching tokens in a phrase search. More...

Public Attributes

doc_id_t doc_id
 The document id to match. More...
 
ulint min_pos
 For found to be true at least one position must be greater than min_pos. More...
 
bool found
 true if found More...
 
fts_word_freq_tword_freq
 Word frequency instance of the current word being looked up in the FTS index. More...
 

Detailed Description

For matching tokens in a phrase search.

We use this data structure in the callback that determines whether a document should be accepted or rejected for a phrase search.

Member Data Documentation

◆ doc_id

doc_id_t fts_select_t::doc_id

The document id to match.

◆ found

bool fts_select_t::found

true if found

◆ min_pos

ulint fts_select_t::min_pos

For found to be true at least one position must be greater than min_pos.

◆ word_freq

fts_word_freq_t* fts_select_t::word_freq

Word frequency instance of the current word being looked up in the FTS index.


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