If my query looks like this:
select * from table
where
body\category\context LIKEP $BODY_QUERY
and body\category\context LIKEP $CONTEXT_QUERY
does the query optimizer combine the two constraints into a single LIKEP constraint, in which case if the two queries together contain 5-9 terms then only results which match at least two of the terms will be returned?
Or is it treated as two completely separate constraints which just happen to use the same index?
select * from table
where
body\category\context LIKEP $BODY_QUERY
and body\category\context LIKEP $CONTEXT_QUERY
does the query optimizer combine the two constraints into a single LIKEP constraint, in which case if the two queries together contain 5-9 terms then only results which match at least two of the terms will be returned?
Or is it treated as two completely separate constraints which just happen to use the same index?