ProximityQueryNode

constructor(clauses: List<QueryNode>, field: CharSequence?, type: ProximityQueryNode.Type, distance: Int, inorder: Boolean)

Parameters

clauses
  • QueryNode children

field
  • field name

type
  • type of proximity query

distance
  • positive integer that specifies the distance

inorder
  • true, if the tokens should be matched in the order of the clauses


constructor(clauses: List<QueryNode>, field: CharSequence?, type: ProximityQueryNode.Type, inorder: Boolean)

Parameters

clauses
  • QueryNode children

field
  • field name

type
  • type of proximity query

inorder
  • true, if the tokens should be matched in the order of the clauses