[ https://issues.apache.org/jira/browse/SOLR-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815357#comment-16815357 ]
ManuelG commented on SOLR-629: ------------------------------ It seems that it has been some back and forth if fuzzy search has been support in either in “dismax” or “edismax”. I can confirm that with Solr 7.7.1 neither “dismax” or “edismax” supports fuzzy search in conjunction with the use of the *qf* parameter. In my test data there will be no results for: {code:java} "params":{ "q":"max", "defType":"dismax", "qf":"fields~", "params":{ "q":"max", "defType":"edismax", "qf":"fields~", {code} On the other side I will get 1 hit for: {code:java} "params":{ "q":"max", "defType":"dismax", "qf":"fields", "params":{ "q":"max", "defType":"edismax", "qf":"fields", {code} > Fuzzy search with eDisMax request handler > ----------------------------------------- > > Key: SOLR-629 > URL: https://issues.apache.org/jira/browse/SOLR-629 > Project: Solr > Issue Type: Improvement > Components: query parsers > Affects Versions: 7.4 > Reporter: Guillaume Smet > Priority: Minor > Attachments: SOLR-629.patch, SOLR-629.patch, > dismax_fuzzy_query_field.v0.1.diff, dismax_fuzzy_query_field.v0.1.diff > > > The DisMax search handler doesn't support fuzzy queries which would be quite > useful for our usage of Solr and from what I've seen on the list, it's > something several people would like to have. > Following this discussion > http://markmail.org/message/tx6kqr7ga6ponefa#query:solr%20dismax%20fuzzy+page:1+mid:c4pciq6rlr4dwtgm+state:results > , I added the ability to add fuzzy query field in the qf parameter. I kept > the patch as conservative as possible. > The syntax supported is: fieldOne^2.3 fieldTwo~0.3 fieldThree~0.2^-0.4 > fieldFour as discussed in the above thread. > The recursive query aliasing should work even with fuzzy query fields using a > very simple rule: the aliased fields inherit the minSimilarity of their > parent, combined with their own one if they have one. > Only the qf parameter support this syntax atm. I suppose we should make it > usable in pf too. Any opinion? > Comments are very welcome, I'll spend the time needed to put this patch in > good shape. > Thanks. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org