# No parser for element

**URL:** <https://discuss.elastic.co/t/no-parser-for-element/14328>\
**Category:** Elasticsearch\
**Created:** [November 8, 2013, 6:02pm UTC](https://discuss.elastic.co/t/no-parser-for-element/14328 "2013-11-08T18:02:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Torben\_Hartmann](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@Torben\_Hartmann](https://discuss.elastic.co/u/Torben_Hartmann)\
**Post date:** [November 8, 2013, 6:02pm UTC](https://discuss.elastic.co/t/no-parser-for-element/14328/1 "2013-11-08T18:02:48Z")

</div>

Hi,

I just started to use elasticsearch and i am encountering a problem.

When I am executing this query:

1. {
2. fields: ["variants", "title", "shortdesc", "image", "hersteller",  
"MinPreis"],
3. from: 0,
4. "query": {
5. 

```
   "fuzzy_like_this": {

```

6. 

```
       "fields": ["_all"],

```

7. 

```
       "like_text": "royal",

```

8. 

```
       "max_query_terms": 12

```

9. 

```
   },

```

10. 

```
   "term": {

```

11. 

```
       "hersteller":"Royal Canin"

```

12. 

```
   }

```

13. },
14. "facets": {
15. 

```
   "tierart": {

```

16. 

```
       "terms": {

```

17. 

```
           "field": "tierart"

```

18. 

```
       }

```

19. 

```
   },

```

20. 

```
   "ohne": {

```

21. 

```
       "terms": {

```

22. 

```
           "field": "ohne"

```

23. 

```
       }

```

24. 

```
   },

```

25. 

```
   "hersteller": {

```

26. 

```
       "terms": {

```

27. 

```
           "field": "hersteller.raw"

```

28. 

```
       }

```

29. 

```
   }

```

30. },
31. "sort": [
32. 

```
   "_score"

```

33. ]
34. }

I get a "no parser for element 'hersteller'" error. When i remove

1. "term": {
2. 

```
      "hersteller":"Royal Canin"

```

3. 

```
  }

```

everything works fine.

I appreciate any help,  
Regards

Torben

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 8, 2013, 6:18pm UTC](https://discuss.elastic.co/t/no-parser-for-element/14328/2 "2013-11-08T18:18:15Z")

</div>

Hard to answer without knowing your documents and your mapping.  
See how to gist curl recreation on help page: [http://www.elasticsearch.org/help/](http://www.elasticsearch.org/help/)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

8 novembre 2013 at 19:02:52, Torben Hartmann ([torben.hartmann@googlemail.com](mailto:torben.hartmann@googlemail.com)) a écrit:

Hi,

I just started to use elasticsearch and i am encountering a problem.

When I am executing this query:

{  
fields: ["variants", "title", "shortdesc", "image", "hersteller", "MinPreis"],  
from: 0,  
"query": {  
"fuzzy\_like\_this": {  
"fields": ["\_all"],  
"like\_text": "royal",  
"max\_query\_terms": 12  
},  
"term": {  
"hersteller":"Royal Canin"  
}  
},  
"facets": {  
"tierart": {  
"terms": {  
"field": "tierart"  
}  
},  
"ohne": {  
"terms": {  
"field": "ohne"  
}  
},  
"hersteller": {  
"terms": {  
"field": "hersteller.raw"  
}  
}  
},  
"sort": [  
"\_score"  
]  
}

I get a "no parser for element 'hersteller'" error. When i remove  
"term": {  
"hersteller":"Royal Canin"  
}  
everything works fine.

I appreciate any help,  
Regards

## Torben

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:08am UTC](https://discuss.elastic.co/t/no-parser-for-element/14328/3 "2017-07-06T02:08:04Z")

</div>


