Package ai.vespa.client.dsl
Class Field
java.lang.Object
ai.vespa.client.dsl.QueryChain
ai.vespa.client.dsl.Field
-
Method Summary
Modifier and TypeMethodDescriptioncontains
(Annotation annotation, String value) Contains query.Contains query.containsEquiv
(String value, String... others) Contains equiv query.containsEquiv
(List<String> values) Contains equiv query.containsNear
(Annotation annotation, String value, String... others) Contains near query.containsNear
(Annotation annotation, List<String> values) Contains near query.containsNear
(String value, String... others) Contains near query.containsNear
(List<String> values) Contains near query.containsOnear
(Annotation annotation, String value, String... others) Contains onear query.containsOnear
(Annotation annotation, List<String> values) Contains onear query.containsOnear
(String value, String... others) Contains onear query.containsOnear
(List<String> values) Contains onear query.containsPhrase
(String value, String... others) Contains phrase query.containsPhrase
(List<String> values) Contains phrase query.containsSameElement
(Query andQuery) Contains same element query.containsUri
(Annotation annotation, String value) Contains uri query.containsUri
(String value) Contains uri query.eq
(double t) Equal to query.eq
(float t) Equal to query.eq
(int t) Equals query.eq
(long t) Equal to query.ge
(double t) Greater than or equal to query.ge
(float t) Greater than or equal to query.ge
(int t) Greater than or equal to query.ge
(long t) Greater than or equal to query.gt
(double t) Greater than query.gt
(float t) Greater than query.gt
(int t) Greater than query.gt
(long t) Greater than query.inRange
(double l, double m) In range query.inRange
(float l, float m) In range query.inRange
(int l, int m) In range query.inRange
(long l, long m) In range query.isFalse()
Is false query.isTrue()
Is true query.le
(double t) Less than or equal to query.le
(float t) Less than or equal to query.le
(int t) Less than or equal to query.le
(long t) Less than or equal to query.lt
(double t) Less than query.lt
(float t) Less than query.lt
(int t) Less than query.lt
(long t) Less than query.Matches query.nearestNeighbor
(Annotation annotation, String rankFeature) Nearest neighbor query.nearestNeighbor
(String rankFeature) Nearest neighbor query.toString()
-
Method Details
-
contains
Contains query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
value
- the value- Returns:
- the query
-
contains
Contains query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
annotation
- the annotationvalue
- the value- Returns:
- the query
-
containsPhrase
Contains phrase query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
value
- the valueothers
- the others- Returns:
- the query
-
containsPhrase
Contains phrase query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
values
- the values- Returns:
- the query
-
containsNear
Contains near query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
value
- the valueothers
- the others- Returns:
- the query
-
containsNear
Contains near query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
values
- the values- Returns:
- the query
-
containsNear
Contains near query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
annotation
- the annotationvalue
- the valueothers
- the others- Returns:
- the query
-
containsNear
Contains near query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
annotation
- the annotationvalues
- the values- Returns:
- the query
-
containsOnear
Contains onear query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
value
- the valueothers
- the others- Returns:
- the query
-
containsOnear
Contains onear query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
values
- the values- Returns:
- the query
-
containsOnear
Contains onear query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
annotation
- the annotationvalue
- the valueothers
- the others- Returns:
- the query
-
containsOnear
Contains onear query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
annotation
- the annotationvalues
- the values- Returns:
- the query
-
containsSameElement
Contains same element query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
andQuery
- the and query- Returns:
- the query
-
containsEquiv
Contains equiv query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
value
- the valueothers
- the others- Returns:
- the query
-
containsEquiv
Contains equiv query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
values
- the values- Returns:
- the query
-
containsUri
Contains uri query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
value
- the value- Returns:
- the query
-
containsUri
Contains uri query. https://docs.vespa.ai/en/reference/query-language-reference.html#contains- Parameters:
annotation
- the annotationvalue
- the value- Returns:
- the query
-
matches
Matches query. https://docs.vespa.ai/en/reference/query-language-reference.html#matches- Parameters:
str
- the str- Returns:
- the query
-
eq
Equals query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
ge
Greater than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
gt
Greater than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
le
Less than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
lt
Less than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
inRange
In range query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
l
- the lm
- the m- Returns:
- the query
-
eq
Equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
ge
Greater than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
gt
Greater than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
le
Less than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
lt
Less than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
inRange
In range query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
l
- the lm
- the m- Returns:
- the query
-
eq
Equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
ge
Greater than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
gt
Greater than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
le
Less than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
lt
Less than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
inRange
In range query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
l
- the lm
- the m- Returns:
- the query
-
eq
Equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
ge
Greater than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
gt
Greater than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
le
Less than or equal to query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
lt
Less than query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
t
- the t- Returns:
- the query
-
inRange
In range query. https://docs.vespa.ai/en/reference/query-language-reference.html#numeric- Parameters:
l
- the lm
- the m- Returns:
- the query
-
isTrue
Is true query. https://docs.vespa.ai/en/reference/query-language-reference.html#boolean- Returns:
- the query
-
isFalse
Is false query. https://docs.vespa.ai/en/reference/query-language-reference.html#boolean- Returns:
- the query
-
nearestNeighbor
Nearest neighbor query. https://docs.vespa.ai/en/reference/query-language-reference.html#nearestneighbor- Parameters:
rankFeature
- the rankfeature.- Returns:
- the query
-
nearestNeighbor
Nearest neighbor query. https://docs.vespa.ai/en/reference/query-language-reference.html#nearestneighbor- Parameters:
annotation
- the annotationrankFeature
- the rankfeature.- Returns:
- the query
-
toString
-