mirror of https://github.com/kiwix/libkiwix.git
add double quote in the tokenizer separator character list (see ID: 2939690)
This commit is contained in:
parent
0f4d6eb371
commit
d942d614e7
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue