Slackbot
08/15/2023, 12:44 PMKevin Donovan
08/15/2023, 1:51 PM{"code":400,"document":"\"symbology\"","error":"Bad JSON: not a properly formed document.","success":false}
{"code":400,"document":"\"etc\"","error":"Bad JSON: not a properly formed document.","success":false}
{"code":400,"document":"\"etc\"","error":"Bad JSON: not a properly formed document.","success":false}
{"code":400,"document":"\"docs-default-current\"","error":"Bad JSON: not a properly formed document.","success":false}
Would anyone know if this is the correct approach? Typesense is a great tool, but it does not appear to be possible to import a collection by itself, at least via curl.
Or maybe this is a problem with scraped docusaurus sites? Maybe the exported JSON collection file needs to be modified in some way prior to conversion to JSONL?
Typesense meets our security needs, but we do need to test it thoroughly first.
Thank you all!
NOTE: If possible, we would have scraped the test Docusaurus site, but it is behind a login and password and Cloudflare Zero Trust (CF), Google Identity-Aware Proxy (IAP) and Keycloak (KC) are not used.Jason Bosco
08/15/2023, 2:59 PMhead -2 your-exported-documents.jsonlKevin Donovan
08/16/2023, 7:06 AM"6.5"
"6.5"
"default"
{"lvl0":null,"lvl1":null,"lvl2":null,"lvl3":null,"lvl4":null,"lvl5":null,"lvl6":null}
[{"lvl0":null,"lvl1":null,"lvl2":null,"lvl3":null,"lvl4":null,"lvl5":null,"lvl6":null}]
{"lvl0":null,"lvl1":null,"lvl2":null,"lvl3":null,"lvl4":null,"lvl5":null}
{"lvl0":null,"lvl1":null,"lvl2":null,"lvl3":null,"lvl4":null,"lvl5":null}Kevin Donovan
08/16/2023, 7:23 AMKevin Donovan
08/16/2023, 8:00 AMJason Bosco
08/16/2023, 1:37 PMKevin Donovan
08/16/2023, 1:42 PMKevin Donovan
08/16/2023, 2:06 PM% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11.4M 0 24 100 11.4M 1 817k 0:00:14 0:00:14 --:--:-- 253k{"message": "Not Found"}Kevin Donovan
08/16/2023, 2:16 PM11.4M in the screen output corresponds to the size of the JSONL file.Kevin Donovan
08/16/2023, 2:17 PMJason Bosco
08/16/2023, 2:21 PMJason Bosco
08/16/2023, 2:21 PMKevin Donovan
08/16/2023, 2:22 PMKevin Donovan
08/16/2023, 2:23 PMJason Bosco
08/16/2023, 2:47 PMKevin Donovan
08/16/2023, 2:57 PMKevin Donovan
08/16/2023, 3:05 PMJason Bosco
08/16/2023, 4:58 PMJason Bosco
08/16/2023, 4:59 PMKevin Donovan
08/17/2023, 2:16 PMKevin Donovan
08/17/2023, 2:20 PM{"code":400,"document":" \"current\"","error":"Bad JSON: not a properly formed document.","success":false}
{"code":400,"document":" ],","error":"Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 3: syntax error while parsing value - unexpected ']'; expected '[', '{', or a literal","success":false}
{"code":400,"document":" \"weight\": {","error":"Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 11: syntax error while parsing value - unexpected ':'; expected end of input","success":false}
{"code":400,"document":" \"level\": 0,","error":"Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 12: syntax error while parsing value - unexpected ':'; expected end of input","success":false}
{"code":400,"document":" \"page_rank\": 0,","error":"Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 16: syntax error while parsing value - unexpected ':'; expected end of input","success":false}
{"code":400,"document":" \"position\": 57,","error":"Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 15: syntax error while parsing value - unexpected ':'; expected end of input","success":false}
{"code":400,"document":" \"position_descending\": 1","error":"Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 26: syntax error while parsing value - unexpected ':'; expected end of input","success":Kevin Donovan
08/17/2023, 2:20 PMKevin Donovan
08/17/2023, 2:21 PMJason Bosco
08/17/2023, 4:13 PMKevin Donovan
08/18/2023, 7:35 AM{
"content": "6.5",
"content_camel": "6.5",
"docusaurus_tag": "default",
"hierarchy": {
"lvl0": null,
"lvl1": null,
"lvl2": null,
"lvl3": null,
"lvl4": null,
"lvl5": null,
"lvl6": null
},Kevin Donovan
08/18/2023, 8:02 AMJason Bosco
08/18/2023, 4:53 PM{"id": "124", "company_name": "Stark Industries", "num_employees": 5215, "country": "US"}
{"id": "125", "company_name": "Future Technology", "num_employees": 1232, "country": "UK"}
{"id": "126", "company_name": "Random Corp.", "num_employees": 531, "country": "AU"}Jason Bosco
08/18/2023, 4:53 PMJason Bosco
08/18/2023, 4:54 PMKevin Donovan
08/18/2023, 5:48 PMKevin Donovan
08/18/2023, 6:11 PMKevin Donovan
08/21/2023, 7:51 AMJason Bosco
08/21/2023, 5:15 PMJason Bosco
08/21/2023, 5:15 PMKevin Donovan
08/31/2023, 9:27 AM