public class StructuredQueryRanker extends Object
Constructor and Description |
---|
StructuredQueryRanker(String indexPath,
FileSystem fs,
int numResults) |
Modifier and Type | Method and Description |
---|---|
DocnoMapping |
getDocnoMapping() |
Map<String,Accumulator[]> |
getResults() |
Accumulator[] |
getResults(String queryID) |
Accumulator[] |
rank(String qid,
com.google.gson.JsonObject query,
int queryLength) |
public StructuredQueryRanker(String indexPath, FileSystem fs, int numResults) throws IOException, ConfigurationException
IOException
ConfigurationException
public DocnoMapping getDocnoMapping() throws IOException
IOException
public Map<String,Accumulator[]> getResults()
public Accumulator[] getResults(String queryID)
public Accumulator[] rank(String qid, com.google.gson.JsonObject query, int queryLength)