Ignore:
Timestamp:
2006-09-18T14:32:31+12:00 (18 years ago)
Author:
mdewsnip
Message:

Changed the Lucene "-fuzzy" argument to "-fuzziness <value>", for more accurate control.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/lucenesearch.cpp

    r12685 r12770  
    123123    cmd += " -sort \"" + queryparams.sortfield + "\"";
    124124  }
    125   if (queryparams.fuzzysearch)
    126     {
    127       cmd += " -fuzzy";
    128     }
     125  if (!queryparams.fuzziness.empty()) {
     126    cmd += " -fuzziness " + queryparams.fuzziness;
     127  }
    129128
    130129  // New code to support configuration of the default conjuction operator
Note: See TracChangeset for help on using the changeset viewer.