# Difference search\_analyzer and search\_quote\_analyzer

**URL:** <https://discuss.elastic.co/t/difference-search-analyzer-and-search-quote-analyzer/293197>\
**Category:** Elasticsearch\
**Created:** [December 30, 2021, 10:40am UTC](https://discuss.elastic.co/t/difference-search-analyzer-and-search-quote-analyzer/293197 "2021-12-30T10:40:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Post date:** [December 30, 2021, 10:40am UTC](https://discuss.elastic.co/t/difference-search-analyzer-and-search-quote-analyzer/293197/1 "2021-12-30T10:40:11Z")

</div>

Hi team,  
I am learning analyzer in Elasticsearch and i have little confusion what is the use of **search\_analyzer** and **search\_quote\_analyzer** i have read the documentation but i couldn't understand.  
**Case 1**

```auto
PUT my_index-000002
{
   "settings":{
     "number_of_replicas": 0, 
      "analysis":{
         "analyzer":{
            "my_analyzer":{ 
               "type":"custom",
               "tokenizer":"standard",
               "filter":[
                  "lowercase","stop"
               ]
            }
         }
      }
   },
   "mappings":{
       "properties":{
          "title": {
             "type":"text",
             "analyzer":"my_analyzer"
         }
      }
   }
}

```

**Case 2**

```auto
PUT my-index-000001
{
   "settings":{
      "analysis":{
         "analyzer":{
            "my_analyzer":{ 
               "type":"custom",
               "tokenizer":"standard",
               "filter":[
                  "lowercase"
               ]
            },
            "my_stop_analyzer":{ 
               "type":"custom",
               "tokenizer":"standard",
               "filter":[
                  "lowercase",
                  "english_stop"
               ]
            }
         },
         "filter":{
            "english_stop":{
               "type":"stop",
               "stopwords":"_english_"
            }
         }
      }
   },
   "mappings":{
       "properties":{
          "title": {
             "type":"text",
             "analyzer":"my_analyzer", 
             "search_analyzer":"my_stop_analyzer", 
             "search_quote_analyzer":"my_analyzer" 
         }
      }
   }
}

```

Both case are performing same.

---

<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:** [January 27, 2022, 10:41am UTC](https://discuss.elastic.co/t/difference-search-analyzer-and-search-quote-analyzer/293197/2 "2022-01-27T10:41:01Z")

</div>

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