lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Analyzing Infix Suggestor Exact Match Boost
Date Wed, 08 Mar 2017 14:07:09 GMT
Probably you can assign a reverse length weight?

On Wed, Mar 8, 2017 at 1:02 PM, Sidhant Aggarwal <sidhant92@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message