Elasticsearch auto look up query

I need some help with the below problem statement

Problem is to implement auto look up functionality with below mentioned requirement

Input -> BTech
Output ->
 BTech in cse
 b.tech in computer science
 b tech in computer

Input -> B.Tech
Output ->
 BTech in cse
 b.tech in computer science
 b tech in computer

Input -> Tec
Output ->
 Technological Advance 
 Artificial Technology
 BTech in cse
 b.tech in computer science
 b tech in computer

But using text=b.tech, my results also getting matched with "b.e." tokens and this is coming on top. Results should be having btech to be on top. (I have used Ngrams, word_delimiter etc.)

I am not showing my query intenionally here, because it has got much complex which will create confusion.

Can anyone please help me out with the desired query? :expressionless:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.