Can this be fixed somehow? I also need the real score. On Sun, Nov 20, 2011 at 10:44 AM, John <fatmanc...@gmail.com> wrote:
> After playing some more with this I managed to get what I want, almost. > > My query now looks like: > > q={!frange l=0 incl=false}query({!type=edismax qf="abstract^0.02 > title^0.08 categorysearch^0.05" boost='eqsim(alltokens,"xyz")' > v='+tokens5:"xyz" '}) > > > With the above query, I am getting only the results that I want, the ones > whose score after my FucntionQuery are above 0, but the problem now is that > the final score for all results is changed to 1, which affects the sorting. > > How can I keep the original score that is calculated by the edismax query? > > Cheers, > John > > > On Fri, Nov 18, 2011 at 10:50 AM, Andre Bois-Crettez < > andre.b...@kelkoo.com> wrote: > >> Definitely worked for me, with a classic full text search on "ipod" and >> such. >> Changing the lower bound changed the number of results. >> >> Follow Chris advice, and give more details. >> >> >> >> John wrote: >> >>> Doesn't seem to work. >>> I though that FilterQueries work before the search is performed and not >>> after... no? >>> >>> Debug doesn't include filter query only the below (changed a bit): >>> >>> BoostedQuery(boost(+fieldName:**"....",boostedFunction(ord(** >>> fieldName),query))) >>> >>> >>> On Thu, Nov 17, 2011 at 5:04 PM, Andre Bois-Crettez >>> <andre.b...@kelkoo.com>wrote: >>> >>> >>> >>>> John wrote: >>>> >>>> >>>> >>>>> Some of the results are receiving score=0 in my function and I would >>>>> like >>>>> them not to appear in the search results. >>>>> >>>>> >>>>> >>>>> >>>> you can use frange, and filter by score: >>>> >>>> q=ipod&fq={!frange l=0 incl=false}query($q) >>>> >>>> -- >>>> André Bois-Crettez >>>> >>>> Search technology, Kelkoo >>>> http://www.kelkoo.com/ >>>> >>>> >>>> >>>> >>> >>> >>> >> >> -- >> André Bois-Crettez >> >> Search technology, Kelkoo >> http://www.kelkoo.com/ >> >> >