I want to activate exact word and full text search simultaneously. Exact word search is working fine with not_analyzed index and fulltext search is working fine with analyzed index. Now I want to combine both these. Below is example what exactly I want:
Suppose I have two records :
- This is apple
If user search for "apple" then there should be one result (exact word search) but if user search for "apple*" then there must be two records (full text search).
Please help me.