# RestXContentBuilder cannot be resolved in ES 1.4.2

**URL:** <https://discuss.elastic.co/t/restxcontentbuilder-cannot-be-resolved-in-es-1-4-2/22212>\
**Category:** Elasticsearch\
**Created:** [February 17, 2015, 4:37pm UTC](https://discuss.elastic.co/t/restxcontentbuilder-cannot-be-resolved-in-es-1-4-2/22212 "2015-02-17T16:37:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali\_Lotfdar](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@Ali\_Lotfdar](https://discuss.elastic.co/u/Ali_Lotfdar)\
**Post date:** [February 17, 2015, 4:37pm UTC](https://discuss.elastic.co/t/restxcontentbuilder-cannot-be-resolved-in-es-1-4-2/22212/1 "2015-02-17T16:37:25Z")

</div>

Hi All,

I want to make a simple plugin for elaticsearch, however all the samples  
are in older version of ES and for ver 1.4.2, I encounter  
with RestXContentBuilder cannot be resolved.  
Could you please let me know what class and method must I use in my program.

Could you please let me have a sample program for rest plugin based on  
Elasticsearch version 1.4.2.

Thank you  
Ali

--  
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/b0eac1ca-79b8-4b9d-bc55-29187d4e8f49%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b0eac1ca-79b8-4b9d-bc55-29187d4e8f49%40googlegroups.com).  
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, 12:32am UTC](https://discuss.elastic.co/t/restxcontentbuilder-cannot-be-resolved-in-es-1-4-2/22212/2 "2017-07-06T00:32:08Z")

</div>

Closed on July 6, 2017, 12:32am UTC


