Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Full Index Rebuild

A full rebuild entails:

  1. Implementing Hawksearch for the first time.

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

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

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

  5. Creation of a new index

  6. Addition and build of hierarchical data if applicable

  7. Item addition/indexing

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

  9. 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:

Info

For Hawksearch v2.0L to v4.0L

  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)

...

Info

For Hawksearch v4.0

  1. Using Hawksearch v4.0 - Indexing API to perform the 6 7 operations listed above.at the beginning of the page

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 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.