public interface FatResultSet extends ResultSet, org.apache.hadoop.io.Writable
Modifier and Type | Method and Description |
---|---|
CollectionStatistics |
getCollectionStatistics()
Get the collection statistics that should be applied when (re)scoring any
documents in this query
|
EntryStatistics[] |
getEntryStatistics()
Return the EntryStatistics of each of the query terms in the query
|
double[] |
getKeyFrequencies()
Return the frequencies of each of the query terms in the query
|
WritablePosting[][] |
getPostings()
Returns a 2D array of posting objects for the document and terms in this result set.
|
String[] |
getQueryTerms()
Get the query terms in this query.
|
void |
setCollectionStatistics(CollectionStatistics cs) |
void |
setDocids(int[] ds) |
void |
setEntryStatistics(EntryStatistics[] es) |
void |
setKeyFrequencies(double[] ks) |
void |
setOccurrences(short[] os) |
void |
setPostings(WritablePosting[][] wp) |
void |
setQueryTerms(String[] qs) |
void |
setScores(double[] ss) |
addMetaItem, addMetaItems, getDocids, getExactResultSize, getLock, getMetaItem, getMetaItems, getMetaKeys, getOccurrences, getResultSet, getResultSet, getResultSize, getScores, getStatusCode, hasMetaItems, initialise, initialise, setExactResultSize, setResultSize, setStatusCode, sort, sort
WritablePosting[][] getPostings()
void setPostings(WritablePosting[][] wp)
double[] getKeyFrequencies()
void setKeyFrequencies(double[] ks)
EntryStatistics[] getEntryStatistics()
void setEntryStatistics(EntryStatistics[] es)
CollectionStatistics getCollectionStatistics()
void setCollectionStatistics(CollectionStatistics cs)
String[] getQueryTerms()
void setQueryTerms(String[] qs)
void setDocids(int[] ds)
void setOccurrences(short[] os)
void setScores(double[] ss)
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow