Cú pháp tìm kiếm phía giao diện website (Frontend)
Cú pháp tìm kiếm:
AND &&
OR ||
NOT -
Kiểu number:
Tìm kiếm | Cú pháp |
---|---|
khác | <> |
nhỏ hơn | < |
lớn hơn | > |
nhỏ hơn hoặc bằng | <= |
lớn hơn hoặc bằng | >= |
bằng | = |
trong mảng | IN |
Kiểu string:
Tìm kiếm | Cú pháp |
---|---|
*= | bắt đầu với |
=* | kết thúc với |
** | có chứa |
IN | trong mảng |
Vùng dữ liệu Article
Field dùng tìm kiếm:
title, body, author, tag, created_at, published_at, blogid
Type: article
Vùng dữ liệu Page
Field dùng tìm kiếm:
title, body, author, tag, created_at
Type: page
Vùng dữ liệu Product
Field dùng tìm kiếm:
title, handle, body, vendor, product_type, tag, sku, variant, price, collectionid, updated_at, sold_quantity, created_at
Type: product
Cú pháp tìm kiếm:
q=freetext & filter=((title:product*=data1)&&(tag:product**=data2))&sortby=(title:product=asc,tag:product=desc)
search?q=filter=(collectionid:product=1000148907)&&(collectionid:product=1000145376)