lucene – Query string is matching from original input Elasticsearch

I am learning elasticsearch analyzer.I have a query regarding index time analysis and search time analysis.I understood the concept of this two types of analysis.

PUT test_index
"settings": {
  "number_of_replicas": 0,
  "analysis": {
    "analyzer": {
"mappings": { 
  "properties": {
    "text_field": {
      "type": "text",
      "analyzer": "custom_analyzer"

I add the documents in it

POST test_index/_doc/1
  "text_field":"The QUICK brown foxes jumped over the dog!"

In kibana discover I searched for foxes jumped it show me the matches
enter image description here

I am not using search_analyzer but still my query is acting like search time.When i query foxes jumped it should not match because in lucene we have [the,quic,brown,fox,jump,over,the,lazy,dog] but it is still matching.

i am following this documentation of elasticsearch

Read more here: Source link