boolean function ( ) { for ( SortField loc0 : fields ) { if ( loc0 . needsScores ( ) ) { return true ; } } return false ; }
returns true if the relevance score is needed to sort documents . concode_field_sep Sort RELEVANCE concode_elem_sep Sort INDEXORDER concode_elem_sep SortField[] fields concode_field_sep void setSort concode_elem_sep void setSort concode_elem_sep SortField[] getSort concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep Sort rewrite