SMILA (incubation) API documentation

org.eclipse.smila.search
Class FederatedQueryHandling

java.lang.Object
  extended by org.eclipse.smila.search.FederatedQueryHandling

public final class FederatedQueryHandling
extends java.lang.Object

Author:
August Georg Schmidt (BROX) This class is a utility class for federated query handling.

Method Summary
static QueryScope[] calculateQueries(java.lang.String[] indexNames, int startHits, int maxHits, java.util.HashMap<java.lang.String,DHitDistribution> hitDistributions)
          This method creates a list of queries to be executed during search process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculateQueries

public static QueryScope[] calculateQueries(java.lang.String[] indexNames,
                                            int startHits,
                                            int maxHits,
                                            java.util.HashMap<java.lang.String,DHitDistribution> hitDistributions)
This method creates a list of queries to be executed during search process.

Parameters:
indexNames - Index names from search query.
startHits - Start of hits in logical result structure.
maxHits - Maximum number of hits to be returned.
hitDistributions - Hit Distributions of all indices.
Returns:
Array of QueryScope objects to be processed.

SMILA (incubation) API documentation