Struggles with Parsing Highlight Data in Go Library
TLDR Jack expressed difficulty parsing new highlight data in Go library, considering creating own API. Kishore Nallan and Jason discussed related problems and potential solutions including using Typescript generics. No solution decided upon.
Sep 21, 2023 (2 months ago)
Jack
01:26 PMKishore Nallan
01:32 PMJack
01:32 PMKishore Nallan
01:33 PMJack
01:35 PM{ "matched_tokens": [], ... }```
[{ "matched_tokens": [], ... },
{ "matched_tokens": [], ... },
...
]
{"key1": { "matched_tokens": [], ... },
"key2": { "matched_tokens": [], ... },
...
}```
Jack
01:35 PM[]object
too :thinking_face: certainly makes it hard to represent in OpenAPI or in most languages I'd imagine.Kishore Nallan
01:38 PMJack
01:38 PMKishore Nallan
01:38 PMJack
01:38 PMSep 22, 2023 (2 months ago)
Jason
03:47 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
JavaScript Client's Return of Highlights Inquiry
Daniel questioned why the JavaScript client returned highlights in an array instead of an object. Kishore Nallan explained it was due to specific issues with statically typed languages needing defined JSON structures for parsing.
Integration Issues with Highlights in Typesense
Michael was struggling with integrating highlights into their work. Dima and Jason offered clarifications and suggestions. Michael decided to try Jason's solution.
Transitioning from Meilisearch to Typesense - Questions and Suggestions
Al is moving from Meilisearch to Typesense and asked for similar matching information features. They also proposed adding daily backups. Kishore Nallan helped them find a workaround, while noting expected complexities, and agreed to include their suggestions in their backlog.
Discussing Typesense Search Highlighting Capabilities
Jack enquiries about getting highlight data to include all fields in an object on Typesense. Jason clarifies that only specific fields in 'query_by' will be returned, which resolves the issue for Jack.
Understanding and Implementing Typesense Dart Library with Flutter
Alexandro sought help with the Typesense Dart library. Jason explained that the library is in progress, discussed utilizing other HTTP libraries, and provided detailed instructions on utilizing Typesense with Flutter. Alexandro provided feedback on the Typesense UI and expressed interest in creating a tutorial video.