Configuration

Search Settings

Configure how SearchX indexes and searches your products through the dashboard.


Overview

Search settings control which product attributes are searchable, filterable, and sortable. These settings are configured per application in the SearchX dashboard.


Searchable Attributes

SearchX indexes all fields (*) by default to ensure maximum discoverability across your entire product catalog. This means every attribute (title, description, brand, categories, SKU, and any custom fields) is searchable out of the box.

You can optionally restrict which fields are searchable if you want to fine-tune results:

  • Title: Product title
  • Description: Product description text
  • Brand: Manufacturer or brand name
  • Categories: Product category hierarchy
  • SKU: Product identifier codes
Configuring searchable attributes in the SearchX dashboard.

Filterable Attributes

Filterable attributes appear as facets in the search results sidebar, allowing users to narrow down results:

  • Brand: Filter by brand/manufacturer
  • Categories: Filter by product category
  • Price: Price range filter
  • On Sale: An on/off toggle that filters to products with a positive sale price below the regular price. Requires sale_price on your indexed products. Surfaced in the widget via the showOnSaleFacet setting. See SDK Reference: Filter sidebar.
  • Color: Filter by product color
  • Size: Filter by available sizes
  • Availability: Filter by stock status

Sortable Attributes

Sortable attributes allow users to re-order search results:

  • Price: Sort by price (low to high, high to low)
  • Name: Sort alphabetically
  • Date: Sort by newest/oldest

Dashboard Configuration

All search settings can be configured from the Settings tab within your application in the SearchX dashboard. Changes take effect immediately after saving.


Ranking Rule Order

Ranking rules determine how search results are ordered. The default priority is:

  1. Sort: Query-time sort rules (applied first when specified).
  2. Typo: Results with fewer typos rank higher.
  3. Words: Results matching more query words rank higher.
  4. Proximity: Results where matched words are closer together rank higher.
  5. Attribute: Results matching higher-priority attributes rank higher.
  6. Exactness: Results with exact matches rank higher.

You can reorder these pre-defined rules in the dashboard to match your search priorities.

Custom Sort Rules

Adding custom sort rules (e.g., price:asc, date:desc) is currently available via the API/SDK sort parameter. Dashboard support for custom sort rules is coming soon.


Agentic AI Search flag

The search-settings response includes agentic_search_enabled. It is true only while Agentic AI Search is on for the store and the store is not suspended. The widget shows the AI button and the conversation only when it is true; the init script cannot override it.


Voice Search flag

The search-settings response includes voice_search_enabled, which reflects the per-application admin toggle. The widget reads this flag at startup to decide whether to render the mic button, independently of the voiceSearchEnabled SDK init setting. The admin value takes precedence over the SDK flag.

{
  "voice_search_enabled": true
}

See Voice Search for the full feature documentation.


Previous
SDK Reference