Testing pf2 and pf3. I thought that when using pf2=myfield, and q=foo bar, you 
would get a phrase query "foo bar", but you don't, unless there are at least 3 
terms in the query. Is this intentional? I think of "pf2" as boosting any two 
words in the query, even if there are only two words. The offending code is:

    if (null == fields || fields.isEmpty() || 
        null == clauses || clauses.size() <= shingleSize ) 
      return;

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to