I disagree that a phrase of 1-word is just a phrase. That is the core difference between the qf and pf clauses. Qf is collecting the terms; pf is boosting the combinations.
For queries where the original query phrase has only a single term in it, then it might be a moot point, unless the clauses are being pointed at different fields or different boosts. But for multi-term queries, pf (and pf2 and pf3) can be important differentiators between documents that just happen to have enough words from the user's original query, and documents that get closer to the user's meaning. It balances the documents that have enough terms per mm and documents that have enough terms in one field. Elizabeth Haubert On Tue, May 29, 2018 at 5:14 AM, Alessandro Benedetti <[email protected]> wrote: > In my opinion, given the definition of dismax and edismax query parsers, > they > should behave the same for parameters in common. > To be a little bit extreme I don't think we need the dismax query parser at > all anymore ( in the the end edismax is only offering more than the > dismax) > > Finally, I do believe that even if the query is a single term ( before or > after the analysis for a PF field) it should anyway boost the phrase. > A phrase of 1 word is still a phrase, isn't it ? > > > > > > ----- > --------------- > Alessandro Benedetti > Search Consultant, R&D Software Engineer, Director > Sease Ltd. - www.sease.io > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >
