Resolving Memory and Null Value Errors
TLDR sahubar requests advice from Jason for a memory error and Kishore Nallan for null values in object arrays. They get advice but it doesn't solve their problem.
Oct 24, 2023 (1 month ago)
sahubar
12:49 PMCan you confirm if the exact error message is "ObjectUnprocessable: Request failed with HTTP code 422 | Server said: Rejecting write: running out of resource type: OUT_OF_MEMORY"?
Jason
02:02 PMOct 25, 2023 (1 month ago)
sahubar
06:38 AMsahubar
10:10 AMexample error:
"RequestMalformed: Request failed with HTTP code 400 | Server said: Field
prices.max.endDate
must be an array of string."Kishore Nallan
10:21 AMKishore Nallan
10:22 AMsahubar
10:27 AMexample my schema params:
{
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "prices.max.endDate",
"optional": true,
"sort": false,
"type": "string[]"
}
Kishore Nallan
10:29 AMsahubar
10:30 AMprices.max.endDate
is null
at that time.Kishore Nallan
10:31 AMTypesense
Indexed 3005 threads (79% resolved)
Similar Threads
Troubleshooting Import API Errors in Typesense
Atul was having trouble with import API errors, which Jason suggested might be due to a bug or missing fields. Upgrading solved the import issue but led to new problems with schemas and facet attributes.
Trouble with Document Error in Indexing
Hauke is encountering an error during indexing with a specific field and working to provide Kishore Nallan with a reproducible example. Kishore Nallan gave troubleshooting advice, but issue not yet resolved.
Handling Collection Errors in HA Clusters
Mischa was encountering random collection existence errors when updating schemas in a HA cluster. Jason suggested waiting between deletions and recreations or using an alias for zero downtime switches.
Issue with Embedding Error in Version 0.25.0.rc63
Bill reported a bug in version 0.25.0.rc63 regarding a problem with updating or emplacing a document and receiving an embedding error. This was resolved in version 0.25.0.rc65, but further discussion ensued regarding the function of 'index' in the update feature.
Resolving Embedding Distance Threshold Error Query Using '*'
Walter was having trouble using the embedding distance threshold which gave out an error with a '*'. Kishore Nallan clarified the issue and suggested a solution. Jason also provided a link to help dynamically set typesense-instantsearch-adapter parameters for future inquiries. The issue was resolved by their inputs.