# Wildcard query string

**URL:** https://discuss.elastic.co/t/wildcard-query-string/271572
**Category:** Elasticsearch
**Created:** [April 29, 2021, 12:37am UTC](https://discuss.elastic.co/t/wildcard-query-string/271572 "2021-04-29T00:37:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jrojasp95](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jrojasp95/32/88988_2.png) [@jrojasp95](https://discuss.elastic.co/u/jrojasp95)
#### Post date: [April 29, 2021, 12:37am UTC](https://discuss.elastic.co/t/wildcard-query-string/271572/1 "2021-04-29T00:37:30Z")

</div>

Hello

I need to use wildcards to query about the full\_name and pedt\_fechanac fields, since the input values ​​come from an OCR, I also need the score to be able to get the best match

Any recommendation

Thank you

FIELDS:

"full\_name" : {

```
      "type" : "text",

      "fields" : {

        "keyword" : {

          "type" : "keyword",

          "ignore_above" : 8000

        }

      }

    },

    "pech_sexo" : {

      "type" : "text",

      "fields" : {

        "keyword" : {

          "type" : "keyword",

          "ignore_above" : 8000

        }

      }

    },

    "pedt_fechanac" : {

      "type" : "text",

      "fields" : {

        "keyword" : {

          "type" : "keyword",

          "ignore_above" : 8000

        }

      }

    }
```

---

<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: [May 27, 2021, 12:37am UTC](https://discuss.elastic.co/t/wildcard-query-string/271572/2 "2021-05-27T00:37:41Z")

</div>

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