#community-help

Issues with MultiSearch Function Usage in Typesense Java Client 0.4.0

TLDR suraj faces an error implementing multi-search in Typesense Java client. Kishore Nallan suggests verifying with an example available on GitHub.

Powered by Struct AI

1

Sep 21, 2023 (2 months ago)
suraj
Photo of md5-396118c791d531ff7af8cd473d5b26ff
suraj
09:56 AM
Hi All, I m using 0.4.0 version of typesense for java client. I m trying to implement multi search using below example in link
https://typesense.org/docs/0.25.1/api/federated-multi-search.html#multi-search-parameters

I m getting below error while calling perform method:

The method perform(MultiSearchSearchesParameter, Map<String,String>) in the type MultiSearch is not applicable for the arguments (HashMap<String,List<HashMap<String,String>>>, HashMap<String,String>)