public Term(String fld, BytesRef bytes) {field = fld;this.bytes = bytes == null ? null : BytesRef.deepCopyOf(bytes);}

public Term ( String fld , BytesRef bytes ) { field = fld ; this . bytes = bytes == null ? null : BytesRef . deepCopyOf ( bytes ) ; }
public Term(string fld, BytesRef bytes){Field = fld;Bytes = bytes;}
