Probably you can assign a reverse length weight?

On Wed, Mar 8, 2017 at 1:02 PM, Sidhant Aggarwal <sidhan...@me.com> wrote:

> Hi,
>
> Im using analyzing infix suggestor. I have a use case for which i cant
> find a solution to so if anyone can help me out with that.
> Suppose i index two terms :-
> abc
> abc def
>
> And both these terms were indexed with the same weight.
> Now suppose in my query i type abc i want the exact match to be returned
> first and then the other matches.
> But what ive observed is that which term is indexed first is returned
> first. So how can i get back exact matches first??
>
> Thanks.
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to