4. Fuzzy Searching

Fuzzy searching will find a word even if it is misspelled. For example, a fuzzy search for apple will find appple. Fuzzy searching can be useful when you are searching text that may contain typographical errors, or for text that has been scanned using optical character recognition (OCR).

Add fuzziness selectively using the % character. The number of % characters you add determines the number of differences the search engine will ignore when searching for a word. The position of the % characters determines how many letters at the start of the word have to match exactly. Examples: ba%nana: Word must begin with ba and have at most one difference between it and banana. b%%anana: Word must begin with b and have at most two differences between it and banana.