Ticket #562: patch-bug562.diff

File patch-bug562.diff, 446 bytes (added by Vitaliy Filippov, 13 years ago)

Patch to fix this bug

  • queryparser/queryparser.lemony

    string  
    269269Term::make_term(const string & prefix) const
    270270{
    271271    string term;
    272     if (stem == QueryParser::STEM_SOME) term += 'Z';
     272    if (stem != QueryParser::STEM_NONE) term += 'Z';
    273273    if (!prefix.empty()) {
    274274        term += prefix;
    275275        if (prefix_needs_colon(prefix, name[0])) term += ':';