Re: Sort vs boost

2016-02-22 Thread Anil
Thanks Emir On Feb 22, 2016 7:31 PM, "Emir Arnautovic" wrote: > Hi Anil, > Decision also depends on your usecase - if you are sure that there will be > no cases where documents matches are of different score or you don't care > about how well document match query (e.g. all queries will be single

Re: Sort vs boost

2016-02-22 Thread Emir Arnautovic
Hi Anil, Decision also depends on your usecase - if you are sure that there will be no cases where documents matches are of different score or you don't care about how well document match query (e.g. all queries will be single term query) then sorting by time is way to go. But, if there is cha

Sort vs boost

2016-02-22 Thread Anil
Hi, we would like to display recent records on top. two ways 1. boost by create time desc 2. sort create time by desc i tried both, seems both looks good. which one is better in terms of performance ? i noticed, sort is good than boost in terms of performance. Please correct me if I am wrong