Where to put fuzziness
or prefix_length
in the request?
#601
Unanswered
AnLuoRidge
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You should use ElasticSearch compatible API. https://docs.zincsearch.com/api-es-compatible/search/search/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Does anyone know where to put
fuzziness
orprefix_length
in the requestPOST /api/:target/_search
?I failed to find the usage example in API doc. Only found some ES samples in Issues, but they are not helpful.
Following is the request I've tried/guessed. Tested it with different
fuzziness
andprefix_length
, but it won't work.The sentence I'm looking for is
the colonel's anger at his daughter's disobedience.
I reckon I got 0 results because the distance between
daughter's
anddaughter
is 2 and the default distance is 1. I didn't placefuzziness
orprefix_length
in the right place.If I search by
daughters
ordaughter'
, I can get the correct result.Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions