Hi,
I am working on indexing my objects into Algolia and they look like this:
{
title: "This is an article",
authors: [
{
first_name: "Alex",
last_name: "Doe"
},
{
first_name: "John",
last_name: "Boy"
}
]
}
I am sending this exact object to be indexed in Algolia with the saveObject()
method.
I have been struggling to understand why the nested array of authors
is converted to the following object in Algolia, making the nested fields not searchable.
{
title: "This is an article",
authors: {
count: 2
}
}
Any help would be really appreciated.
Thanks!