# Fuzzy search

**URL:** https://discuss.elastic.co/t/fuzzy-search/340584
**Category:** Elasticsearch
**Created:** [August 10, 2023, 6:17pm UTC](https://discuss.elastic.co/t/fuzzy-search/340584 "2023-08-10T18:17:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![moep](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@moep](https://discuss.elastic.co/u/moep)
#### Post date: [August 10, 2023, 6:17pm UTC](https://discuss.elastic.co/t/fuzzy-search/340584/1 "2023-08-10T18:17:37Z")

</div>

Hey there,  
I take in to a project into elasticsearch. The task is a webshop. Right now the problem is, that its possible to search for `foo 40 Liter` but its not possible for search for `foo 40L`. My next step is, to use logstash to put the input into lowercase, like this:

```auto
mutate {
lowercase => {
match => ["request"]
}

```

Or is it better to search for a string + number + a regex that contains all possible units and then the short form for units.  
What can you also suggest?

Regards,  
moep

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 7, 2023, 6:18pm UTC](https://discuss.elastic.co/t/fuzzy-search/340584/2 "2023-09-07T18:18:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
