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

Public Attributes

mem_heap_theap
trx_ttrx
dict_index_tindex
fts_table_t fts_common_table
fts_table_t fts_index_table
ulint total_size
fts_doc_ids_tdeleted
fts_ast_node_troot
fts_ast_node_tcur_node
word_map_t * word_map
word_vector_t * word_vector
ib_rbt_tdoc_ids
ib_rbt_tintersection
que_tread_nodes_graph
fts_ast_oper_t oper
ibool collect_positions
ulint flags
ulint distance
doc_id_t lower_doc_id
doc_id_t upper_doc_id
bool boolean_mode
ib_vector_tmatched
ib_vector_t ** match_array
ib_uint64_t total_docs
ulint total_words
dberr_t error
ib_rbt_tword_freqs
bool multi_exist

Detailed Description

State of an FTS query.

Definition at line 75 of file fts0que.cc.

Member Data Documentation

bool fts_query_t::boolean_mode

TRUE if boolean mode query

Definition at line 135 of file fts0que.cc.

fts_ast_node_t* fts_query_t::cur_node

Current tree node

Definition at line 93 of file fts0que.cc.

fts_doc_ids_t* fts_query_t::deleted

Deleted doc ids that need to be filtered from the output

Definition at line 88 of file fts0que.cc.

ulint fts_query_t::distance

The proximity distance of a phrase search. These doc ids are used as a boundary condition when searching the FTS index rows

Definition at line 124 of file fts0que.cc.

ib_rbt_t* fts_query_t::doc_ids

The current set of matching doc ids, elements are of type fts_ranking_t

Definition at line 101 of file fts0que.cc.

dberr_t fts_query_t::error

Error code if any, that is encountered during query processing

Definition at line 148 of file fts0que.cc.

ulint fts_query_t::flags

Specify the full text search type, such as boolean search, phrase search, proximity search etc.

Definition at line 120 of file fts0que.cc.

fts_table_t fts_query_t::fts_index_table

FTS auxiliary index table def

Definition at line 84 of file fts0que.cc.

mem_heap_t* fts_query_t::heap

Heap to use for allocations

Definition at line 76 of file fts0que.cc.

dict_index_t* fts_query_t::index

The FTS index to search FTS auxiliary common table def

Definition at line 80 of file fts0que.cc.

ib_rbt_t* fts_query_t::intersection

The doc ids that were found in doc_ids, this tree will become the new doc_ids, elements are of type fts_ranking_t Prepared statement to read the nodes from the FTS INDEX

Definition at line 105 of file fts0que.cc.

doc_id_t fts_query_t::lower_doc_id

Lowest doc id in doc_ids

Definition at line 131 of file fts0que.cc.

ib_vector_t** fts_query_t::match_array

Used for proximity search, contains position info for each matched word in the word list

Definition at line 140 of file fts0que.cc.

ib_vector_t* fts_query_t::matched

Array of matching documents (fts_match_t) to search for a phrase

Definition at line 137 of file fts0que.cc.

bool fts_query_t::multi_exist

multiple FTS_EXIST oper

Definition at line 155 of file fts0que.cc.

fts_ast_oper_t fts_query_t::oper

Current boolean mode operator TRUE if we want to collect the word positions within the document

Definition at line 114 of file fts0que.cc.

fts_ast_node_t* fts_query_t::root

Abstract syntax tree

Definition at line 91 of file fts0que.cc.

ib_uint64_t fts_query_t::total_docs

The total number of documents

Definition at line 144 of file fts0que.cc.

ulint fts_query_t::total_size

total memory size used by query

Definition at line 86 of file fts0que.cc.

ulint fts_query_t::total_words

The total number of words

Definition at line 146 of file fts0que.cc.

trx_t* fts_query_t::trx

The query transaction

Definition at line 78 of file fts0que.cc.

doc_id_t fts_query_t::upper_doc_id

Highest doc id in doc_ids

Definition at line 133 of file fts0que.cc.

ib_rbt_t* fts_query_t::word_freqs

RB tree of word frequencies per document, its elements are of type fts_word_freq_t

Definition at line 151 of file fts0que.cc.

word_map_t* fts_query_t::word_map

Matched word map for searching by word

Definition at line 95 of file fts0que.cc.

word_vector_t* fts_query_t::word_vector

Matched word vector for searching by index

Definition at line 98 of file fts0que.cc.


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