MySQL 9.1.0
Source Code Documentation
fts_proximity_t Struct Reference

structure defines a set of ranges for original documents, each of which has a minimum position and maximum position. More...

Public Attributes

ulint n_pos
 number of position set, defines a range (min to max) containing all matching words More...
 
pos_vector_t min_pos
 the minimum position (in bytes) of the range More...
 
pos_vector_t max_pos
 the maximum position (in bytes) of the range More...
 

Detailed Description

structure defines a set of ranges for original documents, each of which has a minimum position and maximum position.

Text in such range should contain all words in the proximity search. We will need to count the words in such range to make sure it is less than the specified distance of the proximity search

Member Data Documentation

◆ max_pos

pos_vector_t fts_proximity_t::max_pos

the maximum position (in bytes) of the range

◆ min_pos

pos_vector_t fts_proximity_t::min_pos

the minimum position (in bytes) of the range

◆ n_pos

ulint fts_proximity_t::n_pos

number of position set, defines a range (min to max) containing all matching words


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