full text search - What is the maximum possible value range of MATCH ('...' IN NATURAL LANGUAGE MODE) in MySQL? -
mysql provides fulltext
indexes, can retrieved match (col1,col2,...) against (expr [search_modifier])
construct. there several full-text search variants, 1 of them (and default one) natural language full-text search.
so maximal possible value of match ('...' in natural language mode)?
example:
this query
select courses.id, courses.title, match (coursedata.title) against ('basketball') relevance courses join coursedata on coursedata.id = courses.coursedata_id match (coursedata.title) against ('basketball') > 0
returns result table column relevance
, we're storing relevance value of coursedata.title
rows 'basketball'
. or relevance value of 'basketball'
coursedata.title
rows? anyway, we're storing there output of match(...)
function. in case i'm geting values 0
3.695953130722046
.
there not small limit possibilities of query output. instead of reaching huge limit, freeze down mysql / network.
Comments
Post a Comment