System built-in basic features
This topic describes the system built-in basic features that are used in custom sort models.
Structure diagram of basic features

Types of basic features
Basic features fall into two major categories: item and user.
item:
Field features: First, select the feature fields that you want to process. By default, all fields in the current application are supported. Then, select a processing method. For example, for text fields, you can select tokenization or vectorization. For numeric fields, select original value mapping. If a feature field that you need is not in the current application, you can also register it by using an external MaxCompute table.
Statistical features: The system collects statistics based on the search logs and behavior data collected for the current application, such as the number of impressions, number of clicks, and click-through rate (CTR) of an item in the last 7 days.
user:
User profile: If required, user profile features can be connected for training by using an external table, and are passed in the query during prediction. (Not yet enabled.)
Query features: the raw_query that a user searches for. Information such as query tokenization and vectorization is typically used.
Processing methods for item field features:
Original value
Tokenization
Generate lookup features after tokenization
Count terms after tokenization
Example:
For example, assume that the content of the field to process is "white T-shirt".
The original value result is "white T-shirt".
The tokenization result is "white^]T-shirt" (^] is the multi-value delimiter).
The lookup feature generated after tokenization is "white:white^]T-shirt:T-shirt".
The number of terms counted after tokenization is 2.
System built-in item features
Field name (feature name) | Field type | Field description |
system_item_id | STRING | The item ID, which uniquely identifies the item. |
system_all_nid_ctr_30 | BIGINT | The 30-day CTR of the item (discretized). |
system_all_nid_ctr_7 | BIGINT | The 7-day CTR of the item (discretized). |
system_all_nid_ctr_1 | BIGINT | The 1-day CTR of the item (discretized). |
system_all_nid_pv_30 | BIGINT | The 30-day number of impressions of the item (discretized). |
system_all_nid_pv_7 | BIGINT | The 7-day number of impressions of the item (discretized). |
system_all_nid_pv_1 | BIGINT | The 1-day number of impressions of the item (discretized). |
system_all_nid_ipv_30 | BIGINT | The 30-day number of clicks of the item (discretized). |
system_all_nid_ipv_7 | BIGINT | The 7-day number of clicks of the item (discretized). |
system_all_nid_ipv_1 | BIGINT | The 1-day number of clicks of the item (discretized). |
system_query_score_decay | STRING | The click proportion scores of the top N queries that can represent the item. (For queries, N is 20 by default. The same applies below.) Example: 'query1:score1^]query2:score2' |
system_qterm_score_decay | STRING | The click proportion scores of the top N query terms that can represent the item. (For terms, N is 300 by default. The same applies below.) Example: 'term1:score1^]term2:score2' |
system_query_ctr_decay | STRING | The CTR values of the top N queries that can represent the item. Example: 'query1:ctr1^]query2:ctr2' |
system_qterm_ctr_decay | STRING | The CTR values of the top N query terms that can represent the item. Example: 'term1:ctr1^]term2:ctr2' |
system_query_match_decay | STRING | The match values between the request query and the top N queries that can represent the item. Example: 'query1:query1^]query2:query2' |
system_qterm_match_decay | STRING | The match values between the request query terms and the top N query terms that can represent the item. Example: 'term1:term1^]term2:term2' |
system_query_seq_decay | STRING | The top N queries that can represent the item, as a multi-value ID feature. Example: 'query1^]query2' |
system_qterm_seq_decay | STRING | The top N query terms that can represent the item, as a multi-value ID feature. Example: 'term1^]term2' |
system_query_cnt | BIGINT | The number of values in system_query_seq_decay. |
system_qterm_cnt | BIGINT | The number of values in system_qterm_seq_decay. |
dt | STRING | The time partition, in a format such as 20230316. Data is partitioned by day. |
System built-in user features
System built-in user features.
Feature name | Field type | Feature description |
system_exp_time | STRING | The time when the behavior occurred, in the unit of day of the week, such as "Monday" or "Tuesday". |
system_terms2 | STRING | The first 15 terms of the query token list (truncated). |
system_user_id | STRING | user_id |
system_raw_q_ultra | STRING | The original query before tokenization. |
system_term_seq | STRING | The query sequence feature. |
system_term_seq_length | DOUBLE | The length of the query sequence feature. |