I don't know if this solution accomplished your requirements but you can use fq to do the query with only "foo" and q when you search by more terms.
Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/5/13 Blargy <zman...@hotmail.com> > > Is there any way to configure this so it only takes after if you match more > than one word? > > For example if I search for: "foo" it should have no effect on scoring, but > if I search for "foo bar" then it should. > > Is this possible? Thanks > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Question-on-pf-Phrase-Fields-tp815095p815095.html > Sent from the Solr - User mailing list archive at Nabble.com. >