How should I format my data?
Algolia is schemaless, and can index data attributes having the following format:
string
integer / float
boolean
nested objects
array of (string, integers, floats, booleans, nested objects)
Providing an objectID with your objects is not mandatory. If you don't provide one, we'll generate one automatically, but it'll be easier for you to remove or update the record if you have stored its unique identifier in the objectID attribute.For now, the only format we accept for the dates is the Unix timestamp (e.g. 1435735848), if you want to filter by date.Here's an example of a record:
PreviousDo I need to provide an objectID for my records?NextHow can I update all the objects of my index
Last updated
Was this helpful?