Hawksearch provides two main options to rebuild the search index - full and partial index rebuild.
Full Index Rebuild
A full rebuild entails:
Implementing Hawksearch for the first time.
Building Hawksearch index on a new environment - dev/test/production
Removal of an old/non-current index if max number of indices have been created for your engine
Creation of fields and facets on the dashboard - if not created earlier
Creation of a new index
Addition and build of hierarchical data if applicable
Item addition/indexing
Rebuild All indices - this includes rebuilding the indices other than the data index which are Autocomplete index, Percolator, Learning Search and Related Searches.
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 |
Clicking the Rebuild Index button on the workbench:
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 |
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:
...
Implementing Hawksearch for the first time.
Building Hawksearch index on a new environment - dev/test/production
Adding/updating settings data configuration section such as changing the fields.
...
Partial Index Rebuild
A partial rebuild entails:
Adding new items to an existing index
Updating existing items in an existing index
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:
Sending the dashboard api request with a parameter indicating the partial rebuild.
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:
Index already exists on the Hawksearch engine for the particular environment.
Make non-significant changes to the existing data.
Make no changes to the configuration on the Hawksearch workbench/dashboard.