# Elasticsearch case insensitive - analyzer

**URL:** <https://discuss.elastic.co/t/elasticsearch-case-insensitive-analyzer/9261>\
**Category:** Elasticsearch\
**Created:** [October 6, 2012, 9:55pm UTC](https://discuss.elastic.co/t/elasticsearch-case-insensitive-analyzer/9261 "2012-10-06T21:55:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![N3sh](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@N3sh](https://discuss.elastic.co/u/N3sh)\
**Post date:** [October 6, 2012, 9:55pm UTC](https://discuss.elastic.co/t/elasticsearch-case-insensitive-analyzer/9261/1 "2012-10-06T21:55:20Z")

</div>

Hello,

I have installed and finally managed to run Elasticsearch and couchDB.  
Everything seemed fine until when I realized that case insensitive and wildcard were not working together.

I believe you already know what I am talking about, I have found some posts around the interwebz; but still, I did not manage to fix it.

Here is how I created my index:

curl -XPUT 'localhost:9200/\_river/testing/\_meta' -d '{  
"type" : "couchdb",  
"couchdb" : {  
"host" : "localhost",  
"port" : 5984,  
"db" : "testing",  
"filter" : null  
},  
"index" : {  
"index" : "testing",  
"type" : "testing",  
"analyzer" : "string\_lowercase",  
"bulk\_size" : "100",  
"bulk\_timeout" : "10ms"  
}

}'

As you can notice, I have added the 'analyzer' field to the index; just to try.  
The original version of my index was without that field.

I then added this, to my elasticsearch.yml:

index:  
analysis:  
analyzer:  
string\_lowercase:  
tokenizer: keyword  
filter: lowercase

I have also restarted the process, but still nothing to do.

I just want that the User doesn't need to know the exact case of a word for being able to find it.

P.S. try to be very detailed in your answer as I started working with elasticsearch today.  
P.P.S. I don't know if it important, but I would like to apply that analyzer to all my fields, not only 1.

---

<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:** [July 6, 2017, 3:09am UTC](https://discuss.elastic.co/t/elasticsearch-case-insensitive-analyzer/9261/2 "2017-07-06T03:09:51Z")

</div>


