Lines Matching defs:match
435 if ((char.match(lunr.tokenizer.separator) || sliceEnd == len)) {
1434 * @param {number} editDistance - The allowed edit distance to match.
1582 * referencing edge is introduced to continually match
1862 * @property {lunr.MatchData} matchData - Contains metadata about this match including which term(s) caused the match.
1873 * and will be combined with OR, e.g `hello world` will match documents that contain either 'hello'
1876 * Wildcards can be included in terms to match one or more unspecified characters, these wildcards can
1882 * hello in the title field will match this query. Using a field not present in the index will lead
1887 * to provide fuzzy matching, e.g. 'hello~2' will match documents with hello with an edit distance of 2.
2200 * Currently we have document fields that match the query, but we
2226 var match = {
2231 matches[docRef] = match
2232 results.push(match)
2289 lunr.utils.warn("Version mismatch when loading serialised index. Current version of lunr '" + lunr.version + "' does not match serialized index '" + serializedIndex.version + "'")
2686 * @param {string} term - The term this match data is associated with
2697 // being mutated during match data combination.
2720 * @param {lunr.MatchData} otherMatchData - Another instance of match data to merge with this one.
2757 * Add metadata for a term/field pair to this instance of match data.
2759 * @param {string} term - The term this match data is associated with
2864 * match that term against a {@link lunr.Index}.
2869 * @property {number} [editDistance] - Whether the term should have fuzzy matching applied, and how fuzzy the match should be.
3124 // within a document. These should match otherwise it is
3186 if (char.match(lunr.QueryLexer.termSeparator)) {