TengenceTengence
Product docs

E-commerce Index Schema Reference

Tengence Search understands your data through its index schema. With the same set of products, clearly defined fields make recall, filtering, ranking and resul…

Tengence Search understands your data through its index schema. With the same set of products, clearly defined fields make recall, filtering, ranking and result display work out of the box. With fields missing, even a strong ranking model is only judging incomplete data.

The field set for e-commerce, laid out as a checklist you can prepare data against directly. Fields come in three tiers: the 14 required fields are the minimum for a full search loop to work; recommended fields set the ceiling on search quality; optional fields are filled in as your industry and business require.

Field names use lowercase with underscores and map one-to-one onto semantic types. The semantic type decides how the platform parses a field: exact keyword match, tokenized text, numeric value, or date and time. You can rename fields to suit your own conventions, but the mapping to a semantic type cannot be skipped.

How to use these fields

  1. Start from the required fields in the field overview. Prepare data for those 14 first; the rest can stay empty and the index will still build.
  2. Fill in the recommended fields for your category, especially price, stock, brand_id and category_id, which decide whether filtering and sorting work at all.
  3. Shape your data as JSON Lines, one record per line, with field names matching the table.
  4. Create a dataset in the console with the e-commerce industry type, push your data source, map fields to semantic types, then build the index.

Field overview

The tables below group the core e-commerce fields by business area. Required means the index is unusable without it; recommended means search quality depends on it; optional means fill it in as needed. The processing type column shows how the platform parses that field, so keep the written type consistent and never put numbers inside strings.

A wrong field mapping means rebuilding the index later. Checking semantic types before the first build is much cheaper than fixing them afterwards.

Identity and content

Common field names Semantic type Priority Processing type Description Used by search
product_id / item_id / goods_id / sku_code / spu_code PRIMARY_KEY Required Keyword Unique permanent identifier of the product or SKU Record lookup, deduplication, result return, intervention targeting
title / goods_name / product_name / item_name TITLE Required Tokenized Text Main product name: brand, category and key specification Primary recall, title matching, highlighting, query mining
subtitle / short_title / sub_title / selling_title SUBTITLE Required Tokenized Text Subtitle or supplementary name Secondary recall, list display
description / goods_desc / product_desc / summary DESCRIPTION Required Tokenized Text Selling-point summary, 60–160 characters Summary recall, result card display, content quality scoring
detail / goods_detail / description_html / content DETAIL Recommended Tokenized Text Long-form detail and specifications Long-tail recall, content understanding
keywords / kw / search_words / keyword_list KEYWORDS Recommended Array Curated or extracted keywords Secondary recall, query mining
Common field names Semantic type Priority Processing type Description Used by search
main_image_url / image_url / cover_url / main_pic / thumbnail MAIN_IMAGE_URL Required Normal Text Main product image URL Result card display, image availability scoring
item_url / url / link / goods_url / detail_url ITEM_URL Required Normal Text Product detail page URL Click-through and result linking
image_list / images / pics / gallery / image_urls IMAGE_LIST Recommended Array Additional images beyond the main one Gallery display, image-count quality scoring
video_url / video_src / play_url / main_video_url VIDEO_URL Optional Normal Text Product video URL Media quality scoring, video product identification
thumbnail_url / thumb / small_image / list_image THUMBNAIL_URL Optional Normal Text Low-resolution thumbnail for list pages Fast list rendering, bandwidth saving
sku_image_url / spec_image_url / color_image_url / variant_image SKU_IMAGE_URL Optional Normal Text Image for a specific SKU or color Image switching by variant

Category and brand

Common field names Semantic type Priority Processing type Description Used by search
category_id / cat_id / class_id / category_code CATEGORY_ID Required Keyword Category identifier Category filtering, aggregation, category recall
category_name / cat_name / class_name / category CATEGORY_NAME Required Tokenized Text Category display name Category term matching, breadcrumb display
brand_id / brand_code / brand_key BRAND_ID Required Keyword Brand identifier Brand filtering, aggregation, campaign targeting
brand_name / brand / brand_en / brand_cn BRAND_NAME Required Tokenized Text Brand display name Brand term recognition, brand matching, result display
category_path / cat_path / category_tree / breadcrumb CATEGORY_PATH Recommended Array Full category path, e.g. Electronics > Audio > Headphones Multi-level navigation, parent/child filtering, similar-item recall
brand_alias / brand_aliases / brand_synonyms / brand_other_names BRAND_ALIAS Optional Tokenized Text Aliases, English names, common translations Brand synonym recall

Attributes and tags

Common field names Semantic type Priority Processing type Description Used by search
attr_list / attributes / specs / props / attribute_list ATTR_LIST Recommended Array Array of attribute objects with name and value Attribute recall, filtering, comparison
tags / tag / labels / tag_list / item_tags TAGS Recommended Array Business, campaign or content tags Tag filtering, aggregation, manual intervention
status / state / sale_status / is_online STATUS Required Keyword Listing status with fixed enum values On-sale filtering, delisted removal, operation rules
color / colour / colors / color_list COLOR Recommended Array Product color, array for multiple values Color filtering, aggregation, style grouping
size / sizes / size_list / spec SIZE Recommended Array Size or specification, array for multiple values Size filtering, apparel and footwear recall
material / materials / fabric / material_text MATERIAL Optional Tokenized Text Material such as cotton, metal or leather Material term recall and filtering
model / model_no / model_name / model_number MODEL Optional Keyword Model number, model name or key specification Exact model matching

Price, stock, sales and reputation

Common field names Semantic type Priority Processing type Description Used by search
price / sale_price / current_price / sell_price PRICE Required Numeric Current selling price as a number Price filtering and sorting, price percentile, discount calculation
stock / inventory / quantity / stock_qty / available_stock STOCK Required Numeric Currently available stock quantity In-stock filtering, out-of-stock protection, stock weighting
original_price / list_price / market_price / strike_price ORIGINAL_PRICE Recommended Numeric Original, list or strike-through price Discount calculation, price comparison, original price display
discount / discount_rate / discount_off / rebate DISCOUNT Recommended Numeric Discount rate between 0 and 1; 0.20 means 20% off Discount sorting, offer perception, campaign weighting
sales_count / sold_count / sale_num / sales_volume SALES_COUNT Recommended Numeric Total units sold Sales sorting, sales percentile, popularity weighting
review_count / comment_count / rating_count / reviews REVIEW_COUNT Recommended Numeric Number of reviews or ratings Reputation sorting, review count display
rating / score / avg_rating / star RATING Recommended Numeric Average rating, 0–5 Rating sorting, rating percentile, positive-review weighting
currency / currency_code / price_currency CURRENCY Optional Keyword ISO currency code such as USD, CNY or HKD Multi-currency display and currency-aware filtering
favorite_count / collect_count / fav_count / wishlist_count FAVORITE_COUNT Optional Numeric Number of users who favorited the item Popularity sorting, demand signal
cart_count / add_cart_count / cart_adds CART_COUNT Optional Numeric Number of add-to-cart actions Purchase intent, conversion potential
view_count / pv / views / page_views VIEW_COUNT Optional Numeric Number of views Popularity and exposure signal
share_count / shares / forward_count SHARE_COUNT Optional Numeric Number of shares Social popularity signal

Product structure, seller and region

Common field names Semantic type Priority Processing type Description Used by search
spu_id / spu_code / style_id / series_id SPU_ID Optional Keyword Standard product unit identifier Variant grouping, series aggregation
sku_id / sku_code / variant_id / spec_id SKU_ID Recommended Keyword SKU identifier for a specific variant SKU-level price, stock and rule targeting
product_code / item_code / barcode / ean / upc PRODUCT_CODE Optional Keyword Item code or barcode Exact code or barcode search
shop_id / store_id / seller_id / merchant_id SHOP_ID Optional Keyword Shop identifier Shop filtering, aggregation, same-shop grouping
shop_name / store_name / seller_name / merchant_name SHOP_NAME Optional Tokenized Text Shop display name Shop term recall, result display
seller_name / supplier_name / vendor_name / merchant SELLER_NAME Optional Tokenized Text Seller or supplier name Supplier recognition, seller filtering
region / area / market / warehouse_region REGION Optional Keyword Selling region, market or warehouse location Region filtering, local product recall
language / lang / locale LANGUAGE Optional Keyword Content language such as en or zh-Hans Multilingual filtering and display adaptation

Time and lifecycle

Common field names Semantic type Priority Processing type Description Used by search
update_time / gmt_modified / modified_at / last_modified UPDATE_TIME Required Date/Time Last update time of the record Freshness scoring, data recency, recent-update sorting
create_time / gmt_create / created_at / record_time CREATE_TIME Recommended Date/Time Record creation time New-arrival detection, time sorting
publish_time / online_time / listed_at / pub_time PUBLISH_TIME Optional Date/Time Listing publish time New-arrival window, listing-time sorting
expire_time / offline_time / end_time / delist_time EXPIRE_TIME Optional Date/Time Delisting or offer expiry time Expired item removal, lifecycle management
is_new / new_flag / new_arrival IS_NEW Optional Numeric New arrival flag, boolean or 0/1 New-arrival weighting and filtering
is_hot / hot_flag / best_seller IS_HOT Optional Numeric Hot or best-selling flag, boolean or 0/1 Hot weighting, trending recall
is_recommend / recommend_flag / is_top / pinned IS_RECOMMEND Optional Numeric Manual recommendation flag, boolean or 0/1 Manual recommendation, pinned weighting
promotion_flag / promo_flag / on_promotion PROMOTION_FLAG Optional Numeric Promotion flag, boolean or 0/1 Campaign recall, offer filtering

Extended fields

These fields sit outside the core set, but any that carry business meaning are worth adding. Fields marked “Yes” usually pay off; fields marked “No” only suit display — they dilute recall in the index and map to no semantic type, shown as “—” in the table.

Content enrichment

Common field names Semantic type Index it? Use
selling_points SELLING_POINTS Yes · Tokenized Text Three to five selling-point lines that cover long-tail terms the title cannot fit
spec_text SPEC_TEXT Yes · Tokenized Text Specifications flattened into one readable sentence for parameter questions
target_audience TARGET_AUDIENCE Yes · Tokenized Text Target audience such as children, pregnancy or outdoor use
usage_scene USAGE_SCENE Yes · Tokenized Text Usage scenes such as commuting, office, sports or gifting
season SEASON Yes · Keyword Applicable season for seasonal recall and filtering

Price and promotion

Common field names Semantic type Index it? Use
promo_price PROMO_PRICE Yes · Numeric Promotional price stored separately from price, never merged
member_price MEMBER_PRICE Optional · Numeric Member price for member-only display
coupon_text — No Coupon copy used for result card display only

Fulfilment and logistics

Common field names Semantic type Index it? Use
region_stock REGION_STOCK Optional · Array Per-warehouse stock for regional availability checks
shipping_fee SHIPPING_FEE Optional · Numeric Shipping fee for delivered-price sorting
free_shipping FREE_SHIPPING Optional · Numeric Free-shipping flag, one of the most used filters
delivery_days DELIVERY_DAYS Optional · Numeric Delivery lead time for next-day filters
presale_flag PRESALE_FLAG Optional · Numeric Presale flag, down-weighted when in-stock items should rank first
warranty — No Warranty policy, display only, no recall value
return_policy — No Return and exchange policy, display only

Specification and compliance

Common field names Semantic type Index it? Use
weight WEIGHT Optional · Numeric Billable weight for cross-border and logistics scenarios
package_spec PACKAGE_SPEC Optional · Normal Text Packaging specification such as units per carton or volume
shelf_life SHELF_LIFE Optional · Numeric Shelf life for food and beauty filters and warnings
origin_country ORIGIN_COUNTRY Optional · Keyword Country of origin for cross-border and import filters
hs_code HS_CODE Optional · Keyword Cross-border HS code for duty and compliance
certification — No Certifications such as 3C or CE, display only

Capability matrix

To see which part of the search pipeline a field feeds, use this table. Each row pairs a capability with the fields it relies on.

Capability Fields required
Query understanding title, brand_name, category_name, keywords
Full-text recall title, subtitle, description, detail, attr_list
Filtering and facets brand_id, category_id, price, stock, status, color, size, tags
Numeric sorting price, sales_count, rating, discount, review_count
Time sorting update_time, create_time, publish_time
Ranking and quality scoring sales_count, rating, review_count, stock, update_time
Reranking and intervention product_id, brand_id, category_id, shop_id, tags
Result display main_image_url, item_url, price, currency, stock

Sample record

A complete e-commerce record looks like this, with field names and types matching the tables above. Leave numbers unquoted, and pick either true/false or 0/1 for booleans and keep it consistent across the whole dataset.

{
  "product_id": "SKU-100234",
  "title": "Wireless Noise Cancelling Headphones X3",
  "subtitle": "Over-ear, 40h battery, USB-C",
  "description": "Hybrid ANC with 40mm drivers, 40 hours playback, foldable design.",
  "main_image_url": "https://cdn.example.com/p/100234-main.jpg",
  "item_url": "https://shop.example.com/p/100234",
  "category_id": "C-AUDIO-01",
  "category_name": "Headphones",
  "brand_id": "B-8821",
  "brand_name": "Acme",
  "price": 199.00,
  "stock": 320,
  "status": "in_stock",
  "update_time": "2026-11-28T09:12:00Z"
}

Pre-launch checklist

Ten minutes here saves most of the rework later.

  • All 14 required fields populated, with product_id unique across the dataset.
  • Numeric fields are real numbers, not strings with currency symbols.
  • Time fields are consistently ISO 8601 or Unix timestamps, never mixed.
  • status values collapse into one fixed enum, not three spellings of the same state.
  • Brands and categories carry stable IDs, not just names.
  • Image and detail page URLs resolve publicly and return 200.
  • Array fields receive arrays, not comma-joined strings.
  • Booleans are consistently true/false or 0/1.
  • Multilingual content is tagged with language instead of being mixed into one field.
  • update_time exists and moves with every data change.

FAQ

Can I fill in only some of the fields?

Yes. With all 14 required fields the index builds and search works; the more recommended fields you leave out, the weaker sorting and filtering get.

Can one field hold several values?

Check the processing column. Fields marked as arrays should receive arrays; keyword fields stay single-valued, so split extra values into separate fields or put them in attr_list.

Can Chinese and English products share one dataset?

Yes. Tag them with language, filter by language at query time, and keep the field structure identical.

I already have my own field names. Do I have to rename them?

No. Mapping to the right semantic type is enough; the names in the table are recommendations aligned with those semantic types.

Next steps

Once your data is ready, follow Quick Start to create the dataset and index, then Operator Guide for ranking and manual intervention. Content communities, local services and other forms follow the same naming and semantic-type rules.

On this page