# No parser for element \[term\]

**URL:** <https://discuss.elastic.co/t/no-parser-for-element-term/18703>\
**Category:** Elasticsearch\
**Created:** [July 16, 2014, 4:04pm UTC](https://discuss.elastic.co/t/no-parser-for-element-term/18703 "2014-07-16T16:04:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackpark](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jackpark](https://discuss.elastic.co/u/jackpark)\
**Post date:** [July 16, 2014, 4:04pm UTC](https://discuss.elastic.co/t/no-parser-for-element-term/18703/1 "2014-07-16T16:04:27Z")

</div>

This exact query is not found in the list, so here goes. Just upgraded to 1.2.2.

The query documentation  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-query.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-query.html)  
gives this example:

{  
"term" : { "user" : "kimchy" }  
}

So, my querydsl written for nodejs is this:

{"term":{"inOf":"NodeBuilderType"}}

I happen to know that documents satisfying that query exist, for instance:  
{"lox":"NodeBuilderSecondTopic","crtr":"SystemUser","sIco":"","lIco":"","crDt":"2014-07-16T08:45:21","srtDt":1405525521801,"lEdDt":"2014-07-16T08:45:21","isPrv":"false","label":["First  
instance node"],"details":["Seems  
likely"],"inOf":"NodeBuilderType","trCl",["NodeBuilderType","ASuperClass"],"sbOf":["ASuperClass"]}

What I get back is an enormous stack trace, a portion of which from  
the error log below.

Am I missing something?

Many thanks in advance.  
Jack

[2014-07-16 08:53:20.332] [ERROR] TopicMap - DP.\_\_listNodesByQuery  
{"term":{"inOf":"NodeBuilderType"}} | Error:  
{"error":"SearchPhaseExecutionException[Failed to execute phase  
[query], all shards failed; shardFailures  
{[cawnH8a8S32Bpl96txGwyw][topics][2]:  
SearchParseException[[topics][2]: from[-1],size[-1]: Parse Failure  
[Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
nested: SearchParseException[[topics][2]: from[-1],size[-1]: Parse  
Failure [No parser for element [term]]];  
}{[cawnH8a8S32Bpl96txGwyw][topics][3]:  
SearchParseException[[topics][3]: from[-1],size[-1]: Parse Failure  
[Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
nested: SearchParseException[[topics][3]: from[-1],size[-1]: Parse  
Failure [No parser for element [term]]];  
}{[cawnH8a8S32Bpl96txGwyw][topics][0]:  
SearchParseException[[topics][0]: from[-1],size[-1]: Parse Failure  
[Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
nested: SearchParseException[[topics][0]: from[-1],size[-1]: Parse  
Failure [No parser for element [term]]];  
}{[cawnH8a8S32Bpl96txGwyw][topics][1]:  
SearchParseException[[topics][1]: from[-1],size[-1]: Parse Failure  
[Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
nested: SearchParseException[[topics][1]: from[-1],size[-1]: Parse  
Failure [No parser for element [term]]];  
}{[cawnH8a8S32Bpl96txGwyw][topics][4]:  
SearchParseException[[topics][4]: from[-1],size[-1]: Parse Failure  
[Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
nested: SearchParseException[[topics][4]: from[-1],size[-1]: Parse  
Failure [No parser for element [term]]]; }]","status":400}

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAH6s0fw%3D2T3VpUa3-Ok4je\_W6s6HW-dcZcEJ6qztk-v0PxjuzA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAH6s0fw%3D2T3VpUa3-Ok4je_W6s6HW-dcZcEJ6qztk-v0PxjuzA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 16, 2014, 4:48pm UTC](https://discuss.elastic.co/t/no-parser-for-element-term/18703/2 "2014-07-16T16:48:42Z")

</div>

You need to put it in a query.

Have a look at [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/search.html)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 16 juil. 2014 à 18:04, Jack Park [jackpark@topicquests.org](mailto:jackpark@topicquests.org) a écrit :
> 
> This exact query is not found in the list, so here goes. Just upgraded to 1.2.2.
> 
> The query documentation  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-query.html)  
> gives this example:
> 
> {  
> "term" : { "user" : "kimchy" }  
> }
> 
> So, my querydsl written for nodejs is this:
> 
> {"term":{"inOf":"NodeBuilderType"}}
> 
> I happen to know that documents satisfying that query exist, for instance:  
> {"lox":"NodeBuilderSecondTopic","crtr":"SystemUser","sIco":"","lIco":"","crDt":"2014-07-16T08:45:21","srtDt":1405525521801,"lEdDt":"2014-07-16T08:45:21","isPrv":"false","label":["First  
> instance node"],"details":["Seems  
> likely"],"inOf":"NodeBuilderType","trCl",["NodeBuilderType","ASuperClass"],"sbOf":["ASuperClass"]}
> 
> What I get back is an enormous stack trace, a portion of which from  
> the error log below.
> 
> Am I missing something?
> 
> Many thanks in advance.  
> Jack
> 
> [2014-07-16 08:53:20.332] [ERROR] TopicMap - DP.\_\_listNodesByQuery  
> {"term":{"inOf":"NodeBuilderType"}} | Error:  
> {"error":"SearchPhaseExecutionException[Failed to execute phase  
> [query], all shards failed; shardFailures  
> {[cawnH8a8S32Bpl96txGwyw][topics][2]:  
> SearchParseException[[topics][2]: from[-1],size[-1]: Parse Failure  
> [Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
> nested: SearchParseException[[topics][2]: from[-1],size[-1]: Parse  
> Failure [No parser for element [term]]];  
> }{[cawnH8a8S32Bpl96txGwyw][topics][3]:  
> SearchParseException[[topics][3]: from[-1],size[-1]: Parse Failure  
> [Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
> nested: SearchParseException[[topics][3]: from[-1],size[-1]: Parse  
> Failure [No parser for element [term]]];  
> }{[cawnH8a8S32Bpl96txGwyw][topics][0]:  
> SearchParseException[[topics][0]: from[-1],size[-1]: Parse Failure  
> [Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
> nested: SearchParseException[[topics][0]: from[-1],size[-1]: Parse  
> Failure [No parser for element [term]]];  
> }{[cawnH8a8S32Bpl96txGwyw][topics][1]:  
> SearchParseException[[topics][1]: from[-1],size[-1]: Parse Failure  
> [Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
> nested: SearchParseException[[topics][1]: from[-1],size[-1]: Parse  
> Failure [No parser for element [term]]];  
> }{[cawnH8a8S32Bpl96txGwyw][topics][4]:  
> SearchParseException[[topics][4]: from[-1],size[-1]: Parse Failure  
> [Failed to parse source [{"term":{"inOf":"NodeBuilderType"}}]]];  
> nested: SearchParseException[[topics][4]: from[-1],size[-1]: Parse  
> Failure [No parser for element [term]]]; }]","status":400}
> 
> --  
> 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).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAH6s0fw%3D2T3VpUa3-Ok4je\_W6s6HW-dcZcEJ6qztk-v0PxjuzA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAH6s0fw%3D2T3VpUa3-Ok4je_W6s6HW-dcZcEJ6qztk-v0PxjuzA%40mail.gmail.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/977768D7-AFC8-40B6-8521-23C174341B38%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/977768D7-AFC8-40B6-8521-23C174341B38%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:15am UTC](https://discuss.elastic.co/t/no-parser-for-element-term/18703/3 "2017-07-06T01:15:26Z")

</div>


