Indexing
...
There are two mechanisms of indexing:
Entire data reindexingre-indexing - An entire set of data (products, categories and content pages) are pushed to Hawksearch index at one time.
Single item reindexingre-indexing - A single item (product, category, content page) is pushed to Hawksearch index. It happens when item is updated.
All indexing operations are processed asynchronously
Entire data
...
re-indexing
Items are reindexed re-indexed using temporary index in background. The current (production) index is still used for searching. The temporary index is swapped with production index only when it is ready.
Single item
...
re-indexing
A single item update is pushed into current production index.
...
List of indexers:
hawksearch_products
- Reindex Re-index all productshawkserech_content_pages
- Re- Reindex index all content pageshawksearch_categories
- Reindex Re-index all categories
Reindexing Re-indexing CLI command:
Code Block |
---|
php <magento>/<path>/bin/magento indexer:reindex hawksearch_products |
...
category
field should be set as Is Hierarchical Field?
Product indexing
...
Re-index command
Code Block |
---|
php <magento>/<path>/bin/magento indexer:reindex hawksearch_products |
...
Field Name | Save As | Description |
---|---|---|
| Text Value | Product name |
| Text Value | Product URL |
| Text Value | Product Image URL |
| Text Value | Product Thumbnail URL |
| Text Value | Magento product type |
| Text Value | Product visibility (“Not Visible Individually”, “Catalog”, “Search”, “Catalog, Search”) |
Pricing Fields | ||
price_regular | Numeric Value | Regular Product Price |
price_final | Numeric Value | Discounted Product Price |
price_regular_include_tax | Numeric Value | Regular Product Price Including tax |
price_final_include_tax | Numeric Value | Discounted Product Price Including tax |
price_regular_formatted | Text Value | Regular Product Price including currency sign |
price_final_formatted | Text Value | Discounted Product Price including currency sign |
price_regular_include_tax_formatted | Text Value | Regular Product Price including tax and currency sign |
price_final_include_tax_formatted | Text Value | Discounted Product Price including tax and currency sign |
price_group_<group_id> | Numeric Value | Discounted Product Price per Customer Group |
price_group_<group_id>_include_tax | Numeric Value | Discounted Product Price per Customer Group Including tax |
price_group_<group_id>_formatted | Text Value | Discounted Product Price per Customer Group including currency sign |
price_group_<group_id>_include_tax_formatted | Text Value | Discounted Product Price per Customer Group including tax and currency sign |
price_min | Numeric Value | Minimal price for configurable, bundle and grouped products |
price_max | Numeric Value | Maximal price for configurable, bundle and grouped products |
...
price_group_0
price_group_0_include_tax
price_group_0_formatted
price_group_0_include_tax_formatted
price_group_1
price_group_1_include_tax
price_group_1_formatted
price_group_1_include_tax_formatted
price_group_2
price_group_2_include_tax
price_group_2_formatted
price_group_2_include_tax_formatted
price_group_3
price_group_3_include_tax
price_group_3_formatted
price_group_3_include_tax_formatted
Category indexing
...
Re-index command
Code Block |
---|
php <magento>/<path>/bin/magento indexer:reindex hawksearch_categories |
Content page indexing
...
Re-index command
Code Block |
---|
php <magento>/<path>/bin/magento indexer:reindex hawkserech_content_pages |
...