this.type = type;
}
public TermVectorsRequest(TermVectorsRequest other) {
super(other.index());
this.id = other.id();
<BUG>this.type = other.type();
this.flagsEnum = other.getFlags().clone();</BUG>
this.preference = other.preference();
this.routing = other.routing();
if (other.selectedFields != null) {

this.type = type;
}
public TermVectorsRequest(TermVectorsRequest other) {
super(other.index());
this.id = other.id();
this.type = other.type();
if (this.doc != null) {
this.doc = other.doc().copyBytesArray();
}
this.flagsEnum = other.getFlags().clone();
this.preference = other.preference();
this.routing = other.routing();
if (other.selectedFields != null) {
