public class SmallAdaptiveRanker extends Object
Constructor and Description |
---|
SmallAdaptiveRanker(String postingsIndex,
FileSystem fs) |
Modifier and Type | Method and Description |
---|---|
void |
decompress(CompressedPostings p,
int[] ds,
int blockNumber) |
static void |
main(String[] args) |
int[] |
rank(int[] query,
int hits) |
public SmallAdaptiveRanker(String postingsIndex, FileSystem fs) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void decompress(CompressedPostings p, int[] ds, int blockNumber)
public int[] rank(int[] query, int hits) throws IOException
IOException