: How about a boost function, "bf" or "boost"? : : bf=if(exists(query(location:A)),5,if(exists(query(location:B)),3,0))
Right ... assuming you only want to ignore tf/idf on these fields in this specifc context, function queries are the way to go -- otherwise you could just use a per-field similarity to ignore tf/idf. I would suggest however that instead of using the "exists(query())" consider the "tf()" function ... bf=if(tf(location,A),5,0)&bf=if(tf(location,B),3,0) s/bf/boost/g && s/0/1/g if you wnat mutiplicitive boosts. -Hoss