devflowinc / devflowinc/trieve-instantsearch-adapter
prepwork: prepare dataset
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/algolia/instant-search-demo/blob/master/dataset_import/bestbuy_dataset.json
The structure may change in the future, but lets do the following:
Map the fields this way:
`objectID` as `tracking_id`
`
name
\n\ndescription
` as `chunk_html``price` as `num_value`
`categories` as `tag_set`
`url` in `links`
`img` in `image_urls`
a deterministic random rating from 1 to 5 field as `rating`
a deterministic random timestamp of a date between 2023 and 2024 as `time_stamp`
a deterministic random location between 5 possible valid lat/long values as `location`
All the rest of the fields as metadata. Do not remove the fields we copied before to keep the original object, and do some tests of metadata vs special field latency.
Once finished, provide dataset ID and re-assign to @Delacrobix for storybook testing.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.