/
Full v/s Partial Indexing

Full v/s Partial Indexing

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:

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)


For Hawksearch v4.0

  1. Using Hawksearch v4.0 - Indexing API to perform the 7 operations listed 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.

Related content

Hawksearch v4.0 - Indexing API
Hawksearch v4.0 - Indexing API
More like this
Best Practices to rebuild index
Best Practices to rebuild index
More like this
Hawksearch v4.0 - Hierarchy API
Hawksearch v4.0 - Hierarchy API
Read with this
Using Dashboard API to Rebuild Indexes
Using Dashboard API to Rebuild Indexes
More like this
Bulk Operations API
Bulk Operations API
Read with this
Working with Hawksearch V4
Working with Hawksearch V4
More like this