SearchWP searches for regular expression pattern matches to keep certain strings in tact and avoid tokenization which may reduce the usefulness during search. By default there are a number of common regular expression patterns to extract strings of SKUs, dates, initials, function names, version numbers, and more. You can use this hook to add your […]
Manipulate tokens both when indexing and searching.
Control what SearchWP uses as a minimum token (search term) length.
Control whether SearchWP applies its validation rules (e.g. minimum length) to regular expression (regex) pattern matches.
By default SearchWP will process only full matches for its regular expression patterns. If you would like SearchWP to also consider partial matches you may enable that behavior with this hook.
Control whether SearchWP is strict with tokens. When disabled (which is the default behavior) SearchWP will remove accents from characters.
Control whether regex pattern matches are tokenized into individual parts.