Configure a property

Navigate to Contextual Search > Properties to view and edit contextual search properties.

About this task

Table 1. Contextual search properties
Property label [Name] Description
Default value for maximum number of search results returned for table and record producer configurations

[com.snc.contextual_search.result.default.limit]

Set an upper limit on the number of search results displayed in record producers or forms using contextual search. By default, this is set to 10.

Number of milliseconds that a configured field will wait before triggering a search

[com.snc.search.service.wait_time]

Set the amount of time after a user finishes typing before running a search based on the typed text. By default, this is set to 500 (half a second).
Records returned above this threshold will log warnings

[com.snc.contextual_search.result.threshold]

Trigger a warning message within the system log whenever more than this number of results is returned in a search. This logging helps if you are experiencing performance issues because of large searches. By default, this is set to 10,000.
When a Form configuration is created a search field with a name matching this property will be automatically created

[com.snc.contextual_search.widget.form.default_field]

Link the context search to the search field identified in this property whenever you create a new context search for a form. This eliminates the need to select the field in the form manually. By default, this is set to short_description, meaning that whenever you create a new context search for a form with a short_description field, that field is automatically selected as the field the context search acts on.
Collapse the search results widget when opening an existing record in a form

com.snc.contextual_search.widget.form.open_collapsed_existing_records

When set to true, the search results widget will be collapsed when an existing record is opened.
Note: This applies only to existing records and not new records.