\FAA\Obj\SearchFilterRange

Summary

Methods
Properties
Constants
__construct()
ToQuery()
$from
$to
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$from

$from :

Type

$to

$to :

Type

Methods

__construct()

__construct(string  $field,integer  $from,integer  $to,boolean  $is_or = false)

FilterRange constructor.

Create a range filter search query

Parameters

string $field

A field name

integer $from

The start value

integer $to

The end value

boolean $is_or

Merge with other filters with or

ToQuery()

ToQuery(): string

Create query Convert to solr search query like length:[50 TO 200]

Returns

string —

The search query