Companion
object Companion
Functions
Link copied to clipboard
Returns a query that scores documents based on their distance to origin: score = weight * pivotDistance / (pivotDistance + distance), ie. score is in the [0, weight] range, is equal to weight when the document's value is equal to origin and is equal to weight/2 when the document's value is distant of pivotDistance from origin. In case of multi-valued fields, only the closest point to origin will be considered. This query is typically useful to boost results based on recency by adding this query to a Occur.SHOULD clause of a BooleanQuery.
Link copied to clipboard
Create a query for matching an exact long value.
Link copied to clipboard
Create a range query for long values.
Link copied to clipboard
Create a query matching values in a supplied set
Link copied to clipboard
Create a new SortField for long values.