similar as #settrackscores boolean , but whether to sort by the score descending . concode_field_sep Boolean trackScores concode_elem_sep HighlightBuilder highlightBuilder concode_elem_sep Integer size concode_elem_sep FilterBuilder filterBuilder concode_elem_sep BytesReference doc concode_elem_sep List<SortBuilder> sorts concode_elem_sep List<AggregationBuilder> aggregations concode_elem_sep DocBuilder docBuilder concode_elem_sep QueryBuilder queryBuilder concode_field_sep PercolateSourceBuilder setSize concode_elem_sep PercolateSourceBuilder setHighlightBuilder concode_elem_sep PercolateSourceBuilder setDoc concode_elem_sep DocBuilder setDoc concode_elem_sep DocBuilder setDoc concode_elem_sep DocBuilder setDoc concode_elem_sep DocBuilder setDoc concode_elem_sep DocBuilder setDoc concode_elem_sep DocBuilder setDoc concode_elem_sep PercolateSourceBuilder addSort concode_elem_sep XContentBuilder toXContent concode_elem_sep XContentBuilder toXContent concode_elem_sep PercolateSourceBuilder setQueryBuilder concode_elem_sep PercolateSourceBuilder setFilterBuilder concode_elem_sep PercolateSourceBuilder setTrackScores concode_elem_sep DocBuilder docBuilder concode_elem_sep PercolateSourceBuilder addAggregation
PercolateSourceBuilder function ( boolean arg0 ) { if ( arg0 ) { addSort ( new ScoreSortBuilder ( ) ) ; } else { this . sorts = null ; } return this ; }