# Field not "analyzer":"fingerprint"

**URL:** <https://discuss.elastic.co/t/field-not-analyzer-fingerprint/78067>\
**Category:** Elasticsearch\
**Created:** [March 10, 2017, 12:35am UTC](https://discuss.elastic.co/t/field-not-analyzer-fingerprint/78067 "2017-03-10T00:35:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wshatford](https://avatars.discourse-cdn.com/v4/letter/w/df788c/32.png) [@wshatford](https://discuss.elastic.co/u/wshatford)\
**Post date:** [March 10, 2017, 12:35am UTC](https://discuss.elastic.co/t/field-not-analyzer-fingerprint/78067/1 "2017-03-10T00:35:31Z")

</div>

Very new to elasticsearch. Trying to set up so can search with either for either Santé or Sante, but can't get the ascii version in the index to "analyzer":"fingerprint". I'm probably doing this all wrong.

PUT testindex  
{  
"settings" : {  
"number\_of\_shards" : 1  
},  
"mappings" : {  
"citysearch" : {  
"properties" : {  
"city\_id" : {"type": "integer", "index": "no" },  
"city" : {"type": "text" },  
"url" : { "type" : "text", "index": "no" },  
"location" : { "type" : "text" },  
"location\_ascii" : { "type" : "text", "analyzer":"fingerprint" }  
}  
}  
}  
}

PUT /testindex/citysearch/59053000000  
{  
"city\_id" : 59053,  
"city" : "Santa Monica, California, United States",  
"url" : "/city/us/california/santa-monica",  
"location" : "Santé Monica",  
"location\_ascii" : "Santé the Monica"  
}

GET /testindex/citysearch/59053000000

//results... Why isn't, "location\_ascii": "sante monica"?  
{  
"\_index": "testindex",  
"\_type": "citysearch",  
"\_id": "59053000000",  
"\_version": 2,  
"found": true,  
"\_source": {  
"city\_id": 59053,  
"city": "Santa Monica, California, United States",  
"url": "/city/us/california/santa-monica",  
"location": "Santé Monica",  
"location\_ascii": "Santé the Monica"  
}  
}

---

<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:** [April 7, 2017, 12:35am UTC](https://discuss.elastic.co/t/field-not-analyzer-fingerprint/78067/2 "2017-04-07T00:35:43Z")

</div>

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