Query DSL: Allow to set boost on has_child query, closes #884.

This commit is contained in:
kimchy 2011-04-26 20:40:00 +03:00
parent 583fa4a0e1
commit 6ace8ba0d8
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ public class HasChildQueryParser extends AbstractIndexComponent implements XCont
childType = parser.text();
} else if ("_scope".equals(currentFieldName)) {
scope = parser.text();
} else if ("boost".equals(currentFieldName)) {
boost = parser.floatValue();
}
}
}