Minimum word length not working when set to 2

Created on 22 March 2023, about 2 years ago
Updated 26 March 2023, about 2 years ago

Problem/Motivation

I have a client that would like to search for state name abbreviations like "NY" for "New York"

I have the "Minimum word length" set to two for both the Database Search API Server and the Views view, but when searching for any two letter word I’m seeing all of the results appear. Also, when I look at the database table it doesn’t appear like the two letter words are being saved even though they should be.

I tried on a fresh install with the Search API Database defaults and I had the same result. Any two letter search query resulted in all results being shown even after re-indexing.

🐛 Bug report
Status

Closed: works as designed

Version

1.28

Component

Database backend

Created by

🇺🇸United States daniel korte Brooklyn, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024