IntervalQuery
Create a new IntervalQuery
Parameters
field
the field to query
intervalsSource
an IntervalsSource to retrieve intervals from
Create a new IntervalQuery with a scoring pivot
Parameters
field
the field to query
intervalsSource
an IntervalsSource to retrieve intervals from
pivot
the sloppy frequency value at which the score will be 0.5, must be within (0, +Infinity)
Create a new IntervalQuery with a scoring pivot and exponent
Parameters
field
the field to query
intervalsSource
an IntervalsSource to retrieve intervals from
pivot
the sloppy frequency value at which the score will be 0.5, must be within (0, +Infinity)
exp
exponent, higher values make the function grow slower before 'pivot' and faster after 'pivot', must be in (0, +Infinity)