I have found the solution!
I didn't realize that the filter that I applied in the settings is applicable while updating and searching the data. At first, I did this step:
- Create index with synonym filter
- Insert data
- Add
uppercasebefore synonym filter
By doing that, the uppercase filter is not applied to my data. What I should've done are:
- Create index with
uppercase&synonymfilter (pay attention to the order) - Insert data
Then the filter will be applied to my data.