Hi guys, I was studying in deep the join feature, and I noticed that in Solr , the join query parser is not working in scoring. If you add the parameter "scoreMode" it is completely ignored...
Checking the source code it's possible to see that the join query is built as follow : public class JoinQParserPlugin extends QParserPlugin { .... *JoinQuery jq = new JoinQuery(fromField, toField, fromIndex, fromQuery);* And the JoinQuery object has no implementation regarding the score mode. Looking in the lucene code we can find , in the class : org.apache.lucene.search.join.JoinUtil a complete usage of the score mode param. Why has not be ported ? Anyone is planning to change the JoinQParserPlugin ? https://issues.apache.org/jira/browse/LUCENE-4043 looking here is possible to customize a query parser adding a wrapping of the JoinUtil, but nothing official ? Cheers -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England