Boosting DisMax queries with !boost component

2010-07-31 Thread Martynas Miliauskas
Hi guys, I have following boosting query: b=scale(popularity,0,1) So far I have tried following queries, and got following results: 1. http://localhost:8080/solr/select?q={!boost%20$b=scale(popularity,0,1)%20v=$qq%20defType=dismax}&qf=title+tags&fl=*,score&qq=s

Get both regular query and function query scores

2010-07-16 Thread Martynas Miliauskas
Hi, I am using a function query to tweak my regular query search score, so search query outputs regular query score modified by some function query. Is there a way to also obtain a score from regular query? Thanks!

Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Martynas Miliauskas
The problem with using query functions is that I don't know how to equally scale similarity score and output of the function. What I mean is that query output would be in the range from 0..1 and function output would be in the range from 0..1. Well I think I do know how to scale function output to

Sort by function workaround for Solr 1.4

2010-05-28 Thread Martynas Miliauskas
Hi, I need to sort query results by the output of some function which takes "score" and couple other fields as an input (50% of the total score comes from similarity score and 50% comes from document's popularity). Is there a workaround which does not involve installation of any patches. I have f