Recreating Index Leads to Facet Fetch & Indexing Errors
TLDR Dima encountered errors after recreating index involving nullable fields. Kishore Nallan needs to look into the issue further.
Apr 04, 2023 (5 months ago)
Dima
01:48 PMDima
01:48 PMDima
01:49 PM> Error while indexing numerical field.[json.exception.type_error.302] type must be number, but is null
Kishore Nallan
02:00 PMDima
04:19 PMfoo
which historically was non-optional, but became nullable. We sent foo: null
for such cases, but it looks like we need to omit them instead.I’m not sure why did we find it only now, while recreating and refilling the index, because schema migration with optional: true was done a few months ago
Dima
04:22 PMApr 05, 2023 (5 months ago)
Kishore Nallan
01:31 AMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Typesense Server Bulk Import/Upsert Issue Resolved
Adam was confused about the discrepancy between the successful responses and the actual indexed data while working with a custom WP plugin integrating with Typesense. The issue was a bug related to fetching documents in the wrong order, not a Typesense problem.

Troubleshooting Indexing Duration in Typesense Import
Alan asked about lengthy indexing times for importing documents to Typesense. Jason suggested various potential causes, including network connectivity and system resources. They later identified the problem to be an error in Alan's code.


Handling Kinesis Stream Event Batching with Typesense
Dui had questions about how to handle Kinesis stream events with Typesense. Kishore Nallan suggested using upsert mode for creation/update and differentiating with logical deletion. After various discussions including identifying and resolving a bug, they finalized to introduce an `emplace` action in Typesense v0.23.


Faceting issue with Products Collections in Typesense
Carl was unable to facet on a string array. Kishore Nallan and Jason advised ensuring facet counts were being returned and offered to assist in troubleshooting. Issue resolved upon Carl realizing no data was saved in the database.



Threading Problem During Multiple Collection Creation and Batch Insertion in Typesense
Johan has a problem with creating multiple collections and batch-inserting documents into Typesense, which is returning results from different collections. Kishore Nallan helps troubleshoot the issue and suggests a potential local race condition, which is fixed in a later build.