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/recpt/querytools.cpp

    r12685 r12770  
    153153  }
    154154
    155   // sort field for lucene
    156   option.name = "FuzzySearch";
    157   option.value = (args.getintarg("fuzzy")) ? "true" : "false";
    158   request.filterOptions.push_back (option);
     155  if (!args["fuzziness"].empty()) { // fuzziness value for lucene
     156    option.name = "Fuzziness";
     157    option.value = args["fuzziness"];
     158    request.filterOptions.push_back (option);
     159  }
    159160
    160161  set_more_queryfilter_options (request, args);
Note: See TracChangeset for help on using the changeset viewer.