Profiling Engine SDK
Operator Reference

Operator Reference
Operator List
Topical List
   
 
Query Language
Introduction
Summary
Operators
Tips, Questions, and Answers
   
 
Main Index
Index
Tutorial
API Functions
Query Language
   
Technology Overview
   
Contact Us
   
 
Other Products
Onix Text Search and Retrieval Engine
Brevity Document Summarizer
Lextek Document Profiler & Categorizer
RouteX Document Routing Engine
Lextek Language Identifier
 

M_AND

Name

M_AND

Synopsis

Returns records where all the terms or subqueries are present.

Arguments

M-value (bias for ranking)
List of terms and subqueries

Ranking Scheme

m * min( termweights ) + ( 1 - m ) * max( termweights )

Ranks using the mixed maximum and minimum method. This is effectively a variation of fuzzy logic that biases the result of an AND with an OR. 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_AND are .5 to .8, although some experimentation may be necessary to find the best fit for your need.

Comments

M_AND requires that all the listed terms and subqueries be present in a record for any hit in that record to be returned.

Example

M_AND( 0.4, 'blue', 'green', 'red', 'orange', 'violet' );

See Also

and, all, r_and, p_and