Proximity
A proximity query Search for words within a specified word distance e.g. '"cat jumped"\~3', '"one two three"\~2'
Value parameters
- num
-
the word distance
- str
-
the words
Attributes
- Source
- Query.scala
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Query
- Source
- Query.scala
Attributes
- Inherited from:
- Query
- Source
- Query.scala
Builds a new query by applying a Term => Query
function to a Term if it is in the last position.
Builds a new query by applying a Term => Query
function to a Term if it is in the last position.
Value parameters
- f
-
the function to apply to the last TermQuery
Attributes
- Returns
- Inherited from:
- TermQuery
- Source
- Query.scala
Attributes
- Inherited from:
- Query
- Source
- Query.scala
Attributes
- Inherited from:
- Query
- Source
- Query.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Traverse or "walk" over the Query tree structure applying the effectful function f
to the TermQuery leaf nodes along the way and collecting the results.
Traverse or "walk" over the Query tree structure applying the effectful function f
to the TermQuery leaf nodes along the way and collecting the results. If the resulting context G
has a Query, it will have the same structure as the original Query. "Branch" queries like Query.And/Or/Not/Group, and similar are not affected, just the leaf nodes.
Value parameters
- f
-
effectful function
Attributes
- Returns
-
the query in context G
- Inherited from:
- TermQuery
- Source
- Query.scala