Interface ScoredFieldOrSubQuery<T>
- Type Parameters:
T
-
- Since:
- 6.5
- See Also:
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionQueries values contained anywhere (in all text fields) in the business data value object tree.Restricts the following query to the text (String) field with the given name or name path.textFields
(String... fieldNames) Restricts the following queries to the text (String) fields with the given names or name pathes.
-
Method Details
-
textField
Restricts the following query to the text (String) field with the given name or name path.
The name of the field may contain
.
to provide a field name path (E.g.person.address.country
)Example:
import workflow.business.data.Dossier; List<Dossier> result = ivy.repo.search(Dossier.class) .score().textField("person.address.country").query("Switzerland Germany Austria"") .execute() .getAll();
- Parameters:
fieldName
- name or name path of the field- Returns:
- query operations
- Since:
- 6.5
- See Also:
- API:
- This public API is available in Java.
-
allTextFields
ScoredTextFieldOperation<T> allTextFields()Queries values contained anywhere (in all text fields) in the business data value object tree.
Example:
import workflow.business.data.Dossier; List<Dossier> result = ivy.repo.search(Dossier.class) score().allTextFields().query("Alan Euler Hungary") .execute() .getAll();
- Returns:
- query operations
- Since:
- 6.5
- See Also:
- API:
- This public API is available in Java.
-
textFields
Restricts the following queries to the text (String) fields with the given names or name pathes.
The name of a field may contain
.
to provide a field name path (E.g.person.address.country
)Example:
import workflow.business.data.Dossier; List<Dossier> result = ivy.repo.search(Dossier.class) score().textFields("person.firstName", "person.lastName").query("Alan Euler") .execute() .getAll();
- Parameters:
fieldNames
- name or name path of the field- Returns:
- query operations
- Since:
- 6.5
- See Also:
- API:
- This public API is available in Java.
-