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.
>
>
: 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
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
: > 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
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
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
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...
: 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
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-
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/
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.
11 matches
Mail list logo