Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Hawksearch provides two main options to rebuild the search index - full and partial index rebuild.

Full Index Rebuild

A full rebuild entails:

  1. Removal of an old/non-current index if max number of indices have been created for your engine

  2. Creation of fields and facets on the dashboard - if not created earlier

  3. Creation of a new index

  4. Addition and build of hierarchical data if applicable

  5. Item addition/indexing

  6. Rebuild All indices - this includes rebuilding the indices other than the data index which are Autocomplete index, Percolator, Learning Search and Related Searches.

  7. Setting the new index as the current index

Usage:

Depending on the version and implementation strategy of Hawksearch applicable to your engine, one or more options below can help create a full index rebuild request:

  1. Clicking the Rebuild Index button on the workbench:

  2. Sending a request through the dashboard API without additional parameters:
    Using Dashboard API to Rebuild Indexes - Hawksearch Knowledge Base - Confluence (atlassian.net)

  3. Using Hawksearch v4.0 - Indexing API to perform the 6 operations listed above.

Some of the scenarios when a full index rebuild is necessary:

  1. Implementing Hawksearch for the first time.

  2. Building Hawksearch index on a new environment - dev/test/production

  3. Adding/updating merchandising rules such as visibility rules, boost and bury rules.

  4. Adding/updating settings data configuration section such as changing the fields.


Partial Index Rebuild

A partial rebuild entails:

  1. Adding new items to an existing index

  2. Updating existing items in an existing index

  3. Removing existing items in an existing index

Usage:

Depending on the version and implementation strategy of Hawksearch applicable to your engine, one or more options below can help create a partial index rebuild request:

  1. Sending the dashboard api request with a parameter indicating the partial rebuild.

  2. Using the Hawksearch Indexing API 4.0 to perform CRUD operations on existing indices.

Some of the scenarios when a partial index rebuild is sufficient:

  1. Index already exists on the Hawksearch engine for the particular environment.

  2. Make non-significant changes to the existing data.

  3. Make no changes to the configuration on the Hawksearch workbench/dashboard.

  • No labels