Re: FunctionQuery score=0

2011-11-23 Thread John
Thanks Hoss, I will give those a try and let you know. Cheers. On Wed, Nov 23, 2011 at 8:35 PM, Chris Hostetter wrote: > > : Which answers my query needs. BUT, my boost function actually changes > some > : of the results to be of score 0, which I want to be excluded from the > : result set. > >

Re: FunctionQuery score=0

2011-11-23 Thread Chris Hostetter
: Which answers my query needs. BUT, my boost function actually changes some : of the results to be of score 0, which I want to be excluded from the : result set. Ok .. so the crux of the issue is that your boost function results in a value of 0 for some documents, and you would like those docum

Re: FunctionQuery score=0

2011-11-22 Thread John
Hi Hoss, Thanks for the detailed response. My XY problem is: 1) I am trying to search for a complex query: q={!type=edismax qf="abstract^0.02 title^0.08 categorysearch^0.05" boost='eqsim(alltokens,"xyz")' v='+tokens5:"xyz" '} Which answers my query needs. BUT, my boost function actually changes

Re: FunctionQuery score=0

2011-11-22 Thread Chris Hostetter
: > 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

Re: FunctionQuery score=0

2011-11-22 Thread John
Can this be fixed somehow? I also need the real score. On Sun, Nov 20, 2011 at 10:44 AM, John 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 categoryse

Re: FunctionQuery score=0

2011-11-20 Thread John
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 resu

Re: FunctionQuery score=0

2011-11-18 Thread Andre Bois-Crettez
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...

Re: FunctionQuery score=0

2011-11-17 Thread Chris Hostetter
: I am using a function query that based on the query of the user gives a : score for the results I am presenting. please be specific -- it's not at all clear what the structure of your query is, and the details matter. : Some of the results are receiving score=0 in my function and I would like

Re: FunctionQuery score=0

2011-11-17 Thread John
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-

Re: FunctionQuery score=0

2011-11-17 Thread Andre Bois-Crettez
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/

FunctionQuery score=0

2011-11-17 Thread John
Hi, I am using a function query that based on the query of the user gives a score for the results I am presenting. Some of the results are receiving score=0 in my function and I would like them not to appear in the search results. How can I achieve that? Thanks in advance.