Range


is_greater_than_or_equal

Selects results where the preceding field or xpath expression value is greater than or equal to the starting parameter. The starting parameter can be a number or an ISO-formatted date. The preceding field must be fast indexed as a number or an ISO-formatted date. The segment of a query that this method adds is the same as entering the following string for an Engine query: preceding_field :>= starting The equivalent Engine string assumes that the field is configured in the Engine syntax as a field. For more information about fields and searching metadata content, see the Engine documentation.

Syntax

query is_greater_than_or_equal(string starting)
querymodified query
AppBuilder field is greater than or equal:
.where(field("field_name").is_greater_than_or_equal(20))
Engine-equivalent field is greater than:
.where("field_name:>=20")

is_greater_than

Selects results where the preceding field or xpath expression value is greater than the starting parameter. The starting parameter can be a number or an ISO-formatted date. The preceding field or xpath expression must be fast indexed as a number or an ISO-formatted date. The segment of a query that this method adds is the same as entering the following string for an Engine query: preceding_field :> starting The equivalent Engine string assumes that the field is configured in the Engine syntax as a field. For more information about fields and searching metadata content, see the Engine documentation.

Syntax

query is_greater_than(string starting)
querymodified query
AppBuilder field is greater than:
.where(field("field_name").is_greater_than(20))
Engine-equivalent field is greater than or equal:
.where("field_name:>20")

is_less_than_or_equal

Selects results where the preceding field or xpath expression value is less than or equal to the ending parameter. The ending parameter can be a number or an ISO-formatted date. The preceding field or xpath expression must be fast indexed as a number or an ISO-formatted date. The segment of a query that this method adds is the same as entering the following string for an Engine query: preceding_field :<= ending The equivalent Engine string assumes that the field is configured in the Engine syntax as a field. For more information about fields and searching metadata content, see the Engine documentation.

Syntax

query is_less_than_or_equal(string ending)
querymodified query
AppBuilder field is less than or equal:
.where(field("field_name").is_less_than_or_equal(20))
Engine-equivalent field is less than or equal:
.where("field_name:<=20")

is_less_than

Selects results where the preceding field or xpath expression value is less than the ending parameter. The ending parameter can be a number or an ISO-formatted date. The preceding field or xpath expression must be fast indexed as a number or an ISO-formatted date. The segment of a query that this method adds is the same as entering the following string for an Engine query: preceding_field :< ending The equivalent Engine string assumes that the field is configured in the Engine syntax as a field. For more information about fields and searching metadata content, see the Engine documentation.

Syntax

query is_less_than(string ending)
querymodified query
field is less than:
.where(field("field_name").is_less_than(20))

is_within_range

Selects results where the preceding field or xpath expression value is between the starting and ending parameters. The starting and ending parameters can be a number or an ISO-formatted date. The preceding field or xpath expression must be fast indexed as a number or an ISO-formatted date. The segment of a query that this method adds is the same as entering the following string for an Engine query: preceding_field :[ starting .. ending ] The equivalent Engine string assumes that the field is configured in the Engine syntax as a field. For more information about fields and searching metadata content, see the Engine documentation. The range_type parameter is optional. If specified, it determines whether boundaries are included or excluded in the range. If this parameter is not specified, the boundaries include the starting and ending values. You can assign one of the following values to range_type : QueryHelpers::EXCLUSIVE QueryHelpers::INCLUSIVE QueryHelpers::START_EXCLUSIVE_END_INCLUSIVE QueryHelpers::START_INCLUSIVE_END_EXCLUSIVE

Syntax

query is_within_range(string startingstring endingrange_type range_type)
querymodified query
AppBuilder field is within range and exclude the boundaries:
.where(field("field_name").is_within_range(20, 30, QueryHelpers::EXCLUSIVE))
Engine-equivalent field is within range and include the boundaries:
.where("field_name:[20..30]")