CSV file uploading all fields as string, can I upload as int?

Hello,

We have a facet slider for instantsearch.js that allows users to filter but when we upload a csv how do we specify int as the column rather than string? If thats not possible can you bulk edit elements in the Algolia console?

An example of whats in the file is:

Rating
4.1
3.5
2.2

They are all uploading as string which wont let us facet.

Thanks,

Gerard

The dashboard does not allow bulk edition of the records, and there is no option to make it parse numbers. However we have a command line tool to upload data from csv: https://github.com/algolia/algolia-csv-js

Give it a try as it’ll try to upload data in the correct type.

2 Likes

That worked for us, thanks Bobylito!