<s>[INST] this method calculates the score of this query with all the documents and sort the score map in the reverse order of value . concode_field_sep Map<Integer,Double> docRankingByW1 concode_elem_sep HashMap<String,Integer> documentNameIdMap concode_elem_sep Map<String,Integer> queryIndex concode_elem_sep List<String> stopWords concode_field_sep Map<String,Integer> getDocumentNameMap concode_elem_sep Map<Integer,Double> getRankingByW1 concode_elem_sep void indexQuery concode_elem_sep Map<Integer,String> getUrlMap concode_elem_sep void calculateByW1 concode_elem_sep List<String> getQueries concode_elem_sep void listStopWords [/INST] void function ( ) { for ( Integer loc0 : FileUtils . documentIdMap . keySet ( ) ) { calculateByW1 ( loc0 ) ; } this . docRankingByW1 = Util . sortByValue ( docRankingByW1 ) ; documentNameIdMap = FileUtils . documentNameIdMap ; </s>