Atul Ranjan
03/01/2023, 8:43 AMcom.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "highlight" (class org.typesense.model.SearchResultHit), not marked as ignorable (4 known properties: "document", "geo_distance_meters", "highlights", "text_match"])
at [Source: (String)"{"facet_counts":[],"found":917,"hits":[{"document":"",[truncated 12812 chars]; line: 1, column: 1331] (through reference chain: org.typesense.model.SearchResult["hits"]->java.util.ArrayList[0]->org.typesense.model.SearchResultHit["highlight"])
Can anyone help on this?
ThanksKishore Nallan
03/01/2023, 8:51 AMAtul Ranjan
03/01/2023, 8:51 AM<groupId>org.typesense</groupId>
<artifactId>typesense-java</artifactId>
<version>0.0.8</version>
Kishore Nallan
03/01/2023, 8:52 AMAtul Ranjan
03/01/2023, 8:55 AMorg.typesense:typesense-java:jar:0.0.9 was not found
Kishore Nallan
03/01/2023, 8:55 AMKishore Nallan
03/01/2023, 9:25 AMAtul Ranjan
03/01/2023, 12:24 PMKishore Nallan
03/01/2023, 12:38 PMAtul Ranjan
03/01/2023, 6:44 PM[Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(java.lang.String, okhttp3.MediaType)'] with root cause
java.lang.NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(java.lang.String, okhttp3.MediaType)'
Looks like there are still many issues in API.
Got above error while updating the document:
collection.documents(id).update(attributeMap)
Atul Ranjan
03/01/2023, 7:44 PMokhttp
version and it's working 🚀
There was conflict dependency of okhttp
.