public class Full extends BaseMatching
PostingListManager
collectionStatistics, documentModifiers, dsmNamespace, IGNORE_LOW_IDF_TERMS, index, invertedIndex, lexicon, logger, MATCH_EMPTY_QUERY, numberOfRetrievedDocuments, queryTermsToMatchList, resultSet, RETRIEVED_SET_SIZE, totalTime, wm
Constructor and Description |
---|
Full(Index index)
Create a new Matching instance based on the specified index
|
Modifier and Type | Method and Description |
---|---|
protected void |
assignScores(int i,
AccumulatorResultSet rs,
IterablePosting postings) |
String |
getInfo()
Return a human readable description of this Matching class
|
protected void |
initialisePostings(MatchingQueryTerms queryTerms) |
ResultSet |
match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
finalise, getTotalTime, initialise, setCollectionStatistics, updateEndTime, updateStartTime
public Full(Index index)
public String getInfo()
getInfo
in interface Matching
getInfo
in class BaseMatching
public ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
match
in interface Matching
match
in class BaseMatching
queryNumber
- - some ID of the queryqueryTerms
- - query terms to matchIOException
- if a problem occurs during matchingprotected void assignScores(int i, AccumulatorResultSet rs, IterablePosting postings) throws IOException
IOException
protected void initialisePostings(MatchingQueryTerms queryTerms)
initialisePostings
in class BaseMatching
Terrier 4.0. Copyright © 2004-2014 University of Glasgow