Ticket #633: filename.patch

File filename.patch, 510 bytes (added by egarette, 10 years ago)
  • xapian-applications/omega/omindex.cc

    diff --git a/xapian-applications/omega/omindex.cc b/xapian-applications/omega/omindex.cc
    index 762808e..f1fbc97 100644
    a b index_mimetype(const string & file, const string & url, const string & ext,  
    894894            string::size_type dot = leaf.find_last_of('.');
    895895            if (dot != string::npos)
    896896                leaf.resize(dot);
    897             indexer.index_text(leaf);
     897            indexer.index_text(leaf, 1, "F");
    898898        }
    899899
    900900        if (!author.empty()) {