Branch: Tag:

2016-01-28

2016-01-28 11:08:14 by Jonas Walldén <jonasw@roxen.com>

Add flag for optional auto-globbing words (outside of phrases) in search queries.

293:    ranking->field_ranking[fieldID] = 1;    }    +  // Note that words can become globs automatically if auto-globbing +  // is enabled. If true then this has already happened in the +  // parsing step so we don't need to do anything here. +     [array plusWords, array plusWordGlobs] = split_words(q->plusWords);    [array ordinaryWords, array ordinaryWordGlobs] = split_words(q->words);    [array minusWords, array minusWordGlobs] = split_words(q->minusWords);