This message was deleted.
# community-help
s
This message was deleted.
s
Main.java
k
Can you elaborate what you mean by "not working"?
s
I have given query as RTO but it only searched for keyword RT, Have used maxcandidate as well but failed to get record which has rto as keyword
k
Ok will check. Did you try with curl as Jason suggested earlier?
@suraj bhandari can you paste the exact record in the stock brand file that you expect to find for the query
rto
?
I don't find any records starting with
rto
@suraj bhandari
s
it is not starting with rto
{"market_id":"11613719","cmot_id":"209","exchange_id":"1","security_cd":"","symbol":"GRINDWELL","security_nm":"Grindwell Norton Ltd","short_security_nm":"Grindwell Norton","isin":"INE536A01023","series":"","brand":[{"heading":"Abrasives Business","brandName":"Norton"}
example : Norton which consist of keyword rto
k
By default Typesense only does prefix search. For infix search you have to enable infix index on the field (which you have done above in the code) but you should also include the infix search param while searching.
s
I have added infix param as well, but it is giving me same result .infix("fallback,fallback,fallback") // Have added in code
k
Sorry, please reproduce your issue with curl. We support a large number of customers so unable to run code in different languages for initial debugging.
Without that, the only thing I can suggest is trying with
always
instead of
fallback
.