@Override
 public TermsLookup readFrom(StreamInput in) throws IOException {
   String type = in.readString();
   String id = in.readString();
   String path = in.readString();
   String index = in.readOptionalString();
   TermsLookup termsLookup = new TermsLookup(index, type, id, path);
   termsLookup.routing = in.readOptionalString();
   return termsLookup;
 }
 public static TermsLookup readTermsLookupFrom(StreamInput in) throws IOException {
   return PROTOTYPE.readFrom(in);
 }