M_OR
Name
M_OR
Synopsis
Returns records where any the terms or
subqueries are present.
Arguments
M-value
List of terms and subqueries
Ranking Scheme
m * max( termweight ) + ( 1 -
m ) * min( termweights )
Ranks using the mixed maximum and minumum
method. This is effectively a variation of fuzzy logic
that biases the result of the OR with an AND. A passed in m-value
(the first argument) determines how much it is like an OR and
how much like and AND. Typical values for M_OR are .2 to .5,
although some experimentation may be necessary to find the best
fit for your need.
Comments
M_OR returns any hit for the terms or subqueries.
Example
M_OR( 0.3, 'blue', 'green', 'red', 'orange',
'violet' );
See Also
any, or,
value, r_or, p_or,
m_or, atleast, atmost,
r_atleast, r_atmost, p_atleast, p_atmost