[ https://issues.apache.org/jira/browse/SOLR-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688784#action_12688784 ]
Guillaume Smet commented on SOLR-629: ------------------------------------- Hi Otis, The proposed syntax is taken from the unit test which is based on the existing one ( see testParseFieldBoosts() in http://svn.apache.org/viewvc/lucene/solr/trunk/src/test/org/apache/solr/util/SolrPluginUtilsTest.java?revision=701485&view=markup ). The existing one contains a negative boost. So does the new one. I didn't change the way Solr parses the values. Perhaps we need to be more strict about it? There is still an unanswered question from my initial proposal: "Only the qf parameter supports this syntax atm. I suppose we should make it usable in pf too. Any opinion?" That said, it's probably better to validate the general approach of the patch before thinking about generalizing it. -- Guillaume > Fuzzy search with DisMax request handler > ---------------------------------------- > > Key: SOLR-629 > URL: https://issues.apache.org/jira/browse/SOLR-629 > Project: Solr > Issue Type: Improvement > Affects Versions: 1.3 > Reporter: Guillaume Smet > Priority: Minor > Attachments: 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.