public class DefaultCustomerSearchQueryBuilder extends AbstractCsFlexibleSearchQueryBuilder<DefaultCsTextSearchCommand>
AbstractCsFlexibleSearchQueryBuilder.isCaseInsensitive() is set to TRUE then
the name and postcode fields are searched case-insensitively by using the LOWER function of the columns.
Caution! For large data-sets consider adding a LOWER function query to the Customer.NAME and Address.POSTCODE fields.
The default value for the AbstractCsFlexibleSearchQueryBuilder.isCaseInsensitive() flag is controlled by the cscockpit.caseinsensitivestringsearch
configuration property. The default value for this property is TRUE, but this can be overriden in your
local.properties file.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultCustomerSearchQueryBuilder.TextField
Enum to represent the text fields
|
| Constructor and Description |
|---|
DefaultCustomerSearchQueryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected FlexibleSearchQuery |
buildFlexibleSearchQuery(DefaultCsTextSearchCommand command) |
getAvailableSorts, isCaseInsensitive, setCaseInsensitive, translateQueryprotected FlexibleSearchQuery buildFlexibleSearchQuery(DefaultCsTextSearchCommand command)
buildFlexibleSearchQuery in class AbstractCsFlexibleSearchQueryBuilder<DefaultCsTextSearchCommand>Copyright © 2018 SAP SE. All Rights Reserved.