code: @Override
    public void readFrom(StreamInput in) throws IOException {
      super.readFrom(in);
  
      isPruned = in.readBoolean();
      size = in.readVInt();
      termsEncoding = TermsByQueryRequest.TermsEncoding.values()[in.readVInt()];
      encodedTerms = in.readBytesRef();
    }
docs: Deserialize
  
  @param in the input
  @throws IOException