mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
Query DSL: Allow to set boost on has_child query, closes #884.
This commit is contained in:
parent
583fa4a0e1
commit
6ace8ba0d8
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user