flexsearch icon indicating copy to clipboard operation
flexsearch copied to clipboard

Issue with types in multi field search for a document index

Open kunal-singh opened this issue 1 year ago • 0 comments

Description When performing a search on multiple fields in a document index, where each field needs to be queried with a different phrase, the search function is not correctly typed. Though the returned results are just fine. I am using v0.7.43.

Code to Reproduce I've reproduced it here

Additional Questions Also I was wondering if there is a way to use the bool param properly here. As you can see in the example the bool "and" is not working as expected. For now I am manually doing an intersection of the results arrays but would like to know if there is a proper way of doing the same.

kunal-singh avatar Aug 09 '24 05:08 kunal-singh