RestXContentBuilder cannot be resolved in ES 1.4.2

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

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
To view this discussion on the web visit
For more options, visit