Full-text Search

Configuration of full-text search.

# Defines maximum records returned by fulltext search
 gkr.customer-profile-service.fulltext-search.rows.hardLimit=10000
# Defines the size of the batch for database operations in fulltext search table update
gkr.customer-profile-service.fulltext-search.dbBatchSize=100
# Defines date from where needs to be regenerated customer search table.
# So every customer where Customer.LastSearchTableUpdateGK < regenerateDate will be updated in CustomerSearchGK table
# Required format is yyyy-MM-dd hh:mm:ss
 gkr.customer-profile-service.fulltext-search.regenerateDate=2024-02-20 00:00
# Cron expression for triggering fulltext search table regenerate
gkr.customer-profile-service.fulltext-search.regenerate.cron=* */30 * * * *
# Defines the size of the batch for spring jdbcTemplate batch database operations like batch insert/update
 gkr.customer-profile-service.fulltext-search.database.batchSize=100
# Defines weight for field in PostgreSQL fulltext search. Allowed weights are A, B, C, D. A has the highest weight, D is the default weight.
# If not set in config, defaults from EFulltextSearchAttribute enum are used.
 gkr.customer-profile-service.fulltext-search.postgresql.weights.CUSTOMER_ID=B
 gkr.customer-profile-service.fulltext-search.postgresql.weights.FIRSTNAME=C
 gkr.customer-profile-service.fulltext-search.postgresql.weights.LASTNAME=A
 gkr.customer-profile-service.fulltext-search.postgresql.weights.ORGANIZATION_NAME=A
 gkr.customer-profile-service.fulltext-search.postgresql.weights.USERNAME=B
 gkr.customer-profile-service.fulltext-search.postgresql.weights.EMAIL=B
 gkr.customer-profile-service.fulltext-search.postgresql.weights.STREET=B
 gkr.customer-profile-service.fulltext-search.postgresql.weights.CITY=B
 gkr.customer-profile-service.fulltext-search.postgresql.weights.POSTAL_CODE=B
 gkr.customer-profile-service.fulltext-search.postgresql.weights.PHONE=B