For each search request, you can specify default display fields to limit the fields returned from the application schema.
Configuration in the console
1. In the console, navigate to Extension Features > Search Result Display and add default display fields.

2. If you have not configured default display fields, you can still specify which fields to display when you perform a search test in the console:
Note: When you set the fetch_fields parameter, use semicolons to separate the field names.
SDK and API configuration
fetch_fields: The amount of text data returned significantly affects query performance. Retrieve only the fields you need. If you set this parameter in the SDK or API, it overwrites the corresponding configuration in the console.
API parameter: Specify the fields using the fetch_fields parameter.
SDK configuration: The following example uses the Java SDK:
// Specify which fields from the application to return in the search results.
config.setFetchFields(Lists.newArrayList("id","name","phone","int_arr","literal_arr","float_arr","cate_id"));
Notes
If you do not specify the fetch_fields parameter in the SDK or API, the system uses the default display fields configured in the console. If you specify the fetch_fields parameter, the configuration in the SDK or API takes precedence.
In multi-table join scenarios, the primary key of a secondary table is not included in the default display fields. To return the value of the secondary table's primary key, use the corresponding foreign key field from the primary table instead. See the figure below for details.