code: @Override
    public void readFrom(StreamInput in) throws IOException {
      super.readFrom(in);
      request = new TermsByQueryRequest();
      request.readFrom(in);
  
      if (in.readBoolean()) {
        filteringAliases = in.readStringArray();
      }
    }
docs: Deserialize
  
  @param in the input
  @throws IOException