Re: score mixing

2016-03-28 Thread Mikhail Khludnev
Hello Michael,

You have a good chance with _val_:rank, I suppose see
https://cwiki.apache.org/confluence/display/solr/Function+Queries. Beware
of query parsing traps, check that query is parsed properly.

On Sun, Mar 27, 2016 at 11:57 AM, michael solomon 
wrote:

> Hi,
> I have nested documents and use in BlockJoinQueryParser.
> In parent documents I have "rank" field that give an arbitrary score for
> each parent.
> It's possible to mix the original scoring with mine? i.e:
> SolrScore+rank=finel score
> or(proportional scoring..)SolrScore/MaxScore + rank/MaxRank = finel
> score(between 0-1)
> Thanks,
> Michael
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics





Re: score mixing

2016-03-27 Thread Reth RM
If you are looking for boosting the score of the document based on the
value of rank field then you can as well use field boosting.
rank^10. For the other case of adding scores and rank values, using
"function query" should serve the requirement.

https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser

On Sun, Mar 27, 2016 at 2:27 PM, michael solomon 
wrote:

> Hi,
> I have nested documents and use in BlockJoinQueryParser.
> In parent documents I have "rank" field that give an arbitrary score for
> each parent.
> It's possible to mix the original scoring with mine? i.e:
> SolrScore+rank=finel score
> or(proportional scoring..)SolrScore/MaxScore + rank/MaxRank = finel
> score(between 0-1)
> Thanks,
> Michael
>