CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Extra\Query\TermFreq Class Reference

Filtering based on integer comparisons on the frequency of a term. More...

+ Inheritance diagram for CirrusSearch\Extra\Query\TermFreq:
+ Collaboration diagram for CirrusSearch\Extra\Query\TermFreq:

Public Member Functions

 __construct ( $field, $term, $operator, $number)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Extra\Query\TermFreq::__construct ( $field,
$term,
$operator,
$number )
Parameters
string$fieldThe name of the field to search
string$termThe term to search for
string$operatorA comparison operator. One of [ '<', '<=', '>', '>=', '=' ]
int$numberThe number to compare against

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