Add comment wrt to changed xcontent generation
This commit is contained in:
parent
cebb0ba0d8
commit
5979802415
|
@ -160,7 +160,7 @@ public class ReciprocalRank extends RankedListQualityMetric<ReciprocalRank> {
|
|||
@Override
|
||||
public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
|
||||
builder.startObject();
|
||||
//builder.startObject(NAME);
|
||||
//builder.startObject(NAME); // TODO for roundtripping to work
|
||||
builder.field(MAX_RANK_FIELD.getPreferredName(), this.maxAcceptableRank);
|
||||
//builder.endObject();
|
||||
builder.endObject();
|
||||
|
|
Loading…
Reference in New Issue