I am trying to switch from the old gatsby-plugin-algolia-search plugin to the current version of gatsby-plugin-algolia but I always get the following error if there is any partial update to be done:
[Algolia] 2 queries to index
[Algolia] Running 1 query for index Posts...
[Algolia] Running 1 query for index Downloads...
[Algolia] Query resulted in a total of 4 results
[Algolia] Query resulted in a total of 12 results
success Generating image thumbnails - 0.038s - 5/5 131.32/s
[Algolia] Starting Partial updates...
error failed to index to Algolia
ReferenceError: curObj is not defined
not finished onPostBuild - 0.513s
I am using WordPress to get my data. Here's my config:
If there is no data to be updated, everything goes well. I haven't found anything about the ReferenceError: curObj is not defined that could be helpful. Did I miss any config setting?
Nevermind, I've managed to make it work by adding the modified field into both queries and adding the matchFields setting to the plugin settings passing modified in the array.
I am trying to switch from the old
gatsby-plugin-algolia-search
plugin to the current version ofgatsby-plugin-algolia
but I always get the following error if there is any partial update to be done:I am using WordPress to get my data. Here's my config:
If there is no data to be updated, everything goes well. I haven't found anything about the
ReferenceError: curObj is not defined
that could be helpful. Did I miss any config setting?