> Thanks Ahmet. Do you know of a way to > set a tie on only a set of fields, so in this case on PHD, > MASTERS and BACHELORS, but not on name? The end result being > s student named Stanford who went to Stanford for a PHD > would get a higher score than someone named Joe with the > same degree with a query for 'stanford'. My use case will > have a few of these groupings. I'd like to use the tie for > the groups, not all fields.
Not sure about the exact syntax but I think you can do it with _query_ hook. &q=_query_:"{!dismax qf='PHD^100 MASTERS^50 BACHELORS^10' tie='0'}standford" AND _query_:"{!dismax qf='NAME SURNAME' tie='0.1'}standford" http://wiki.apache.org/solr/LocalParams http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/