Ucommerce
  • Ucommerce Next Gen
    • Getting Started
      • Prerequisites
      • Licensing
      • Ucommerce Templates
      • Headless Template
      • MVC Template
    • Headless
      • Postman Collection
      • Headless API Authentication
        • Token endpoint - Authorization Header
        • Authorization Scopes
        • Refreshing the Access Token
      • Reference
        • Cart
        • Cart / Order Line Items
        • Shipment
        • Billing
        • Promotion Codes
        • Price Groups
        • Payment Methods
        • Countries
        • Shipping Methods
        • Catalogs
        • Cart Custom Properties
        • Line Item Custom Properties
        • Orders
        • Views for Cart modifying operations
      • Custom Headless APIs
      • Error Handling
      • Pagination
      • Deprecation
    • Backoffice Authentication
      • Microsoft Entra ID Example
      • Auth0 Authentication Example
    • Definitions
      • What is a Definition
    • Search and indexing
      • Configuration
      • Indexing
        • Index Definitions
        • Facets
        • Indexing Prices
        • Suggestions
        • Custom Data
      • Searching
    • Payment Providers
      • Stripe Provider Integration
      • Implementing a custom payment provider
    • Data Import
    • Miscellaneous
      • Media
      • Price Group Inheritance
      • Price Group Criteria
      • Soft Deletion Of Entities
      • Logging
      • OpenTelemetry
    • Extensions
      • Extending Pipelines
        • Order Processing Pipelines
        • Checkout Pipelines
      • Changing Service Behavior
        • Images
        • Content
      • Custom Headless APIs
      • Extend the Backoffice
        • Custom UI Components
      • Custom Editor UI
      • Custom Promotion Criteria
      • Custom Price Group Criteria
    • How-To
      • Migrate from Classic
        • Common database issues
      • Entities from code
        • Bootstrapping data on startup
        • Product Definitions & Fields
      • Discover pipelines and their tasks
      • Executing a pipeline
    • Integrations
      • Umbraco Media Delivery API
      • App Slices
        • Product Picker
  • Release Notes
  • Contact Us
Powered by GitBook
On this page
  • Scratch index using the back office
  • Scratch index using the API

Was this helpful?

  1. Ucommerce Next Gen
  2. Search and indexing

Indexing

Get data into your index

PreviousConfigurationNextIndex Definitions

Last updated 1 year ago

Was this helpful?

You will have to run a scratch index to get data into your index. There are two ways to do that - using the back office or calling the API directly, using, e.g., Postman.

It is only necessary to index from scratch when importing data from external sources into Ucommerce or making a new . When using the back office to change properties for products, etc., the back office makes sure to index the changes automatically.

Only a single scratch index operation can run at any time. The API will return a 409 - Conflict HTTP status code if a scratch index operation is already running. The back office will display the current status.

Scratch index using the back office

Go to Settings -> Search - rebuild index -> Click Rebuild index

Scratch index using the API

Send an empty POST request to the URL responsible for indexing:

https://YourStore:YourPort/ucommerce/api/v1/search
custom index definition