add double quote in the tokenizer separator character list (see ID: 2939690)

This commit is contained in:
kelson42 2010-01-26 11:21:10 +00:00
parent 0f4d6eb371
commit d942d614e7
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ namespace kiwix {
std::transform(search.begin(), search.end(), search.begin(), ::tolower);
/* Create the query term vector */
std::vector<std::string> queryTerms = split(removeAccents(search.c_str()), " #@%$0/\\_-*()[]{},;:");
/* I have the doublequote " because bug ID: 2939690 */
std::vector<std::string> queryTerms = split(removeAccents(search.c_str()), " #@%$0/\\_-*()[]{},;:\"´`'");
/* Create query object */
Xapian::Query query(Xapian::Query::OP_OR, queryTerms.begin(), queryTerms.end());