jeudi 18 septembre 2014

Solr's minimum match(mm) and phrase field(pf) match


Vote count:

0




The minimum match configured in the request handler is 2. My search query contains two terms, i.e. q=termOne termTwo&defType=edismax.


It means that both termOne and termTwo must be found in a document to be considered a match. I also have certain fields specified as qf(query fields) and pf(phrase fields) in the request handler.


Now a document gets a match for termOne in one of the fields defined in the qf and the phrase "termOne termTwo" gets a match for one of the fields defined in pf. Even though it gets these matches, the document will not come in the result as it doesn't satisfy the mm criteria.


Is there any way so that the match in the pf also contributes to the mm and document shows up in the results?


Thanks.



asked 1 min ago







Solr's minimum match(mm) and phrase field(pf) match

Aucun commentaire:

Enregistrer un commentaire