algolia_upload
Uploads filtered search records to an Algolia index after clearing existing objects and updating index settings. The function reads records from a local JSON file, validates them, and performs a batch upload using the Algolia Search API.
def algolia_upload() - > None
Uploads site search records to Algolia by reading a local JSON file, filtering out records that exceed character limits, and updating the remote index settings and objects.
Returns
| Type | Description |
|---|---|
None | Nothing is returned; the function performs a network-based update to the Algolia index. |