Esempio n. 1
0
 @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;
 }
Esempio n. 2
0
 public static TermsLookup readTermsLookupFrom(StreamInput in) throws IOException {
   return PROTOTYPE.readFrom(in);
 }