Uses of Class
org.gcube.search.datafusion.datatypes.Pair

Packages that use Pair
org.gcube.search.datafusion.datatypes   
org.gcube.search.datafusion.helpers   
 

Uses of Pair in org.gcube.search.datafusion.datatypes
 

Method parameters in org.gcube.search.datafusion.datatypes with type arguments of type Pair
static List<RankedRecord> RankedRecord.recalculateScores(Map<String,Long> recPositions, Map<String,Pair> recScores, Boolean includePosition)
          Recalculates the score of the records that are retrieved after querying the lucene index in order to perform some other refinements.
 

Uses of Pair in org.gcube.search.datafusion.helpers
 

Methods in org.gcube.search.datafusion.helpers that return types with arguments of type Pair
static Map<String,Pair> IndexHelper.rankDocuments(org.apache.lucene.store.Directory index, String query, int count)
           
static Map<String,Pair> IndexHelper.rankDocuments(org.apache.lucene.store.Directory index, String query, int count, int hitsCount)
          Performs the query on the index and returns a map with key the id of the record and value a pair of score and lucene id (different from record id) Obviously, the returned result is not sorted but it requires sorting on the score
 



Copyright © 2013. All Rights Reserved.