public class FullNoPLM extends BaseMatching
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 |
---|
FullNoPLM(Index index)
Create a new Matching instance based on the specified index
|
Modifier and Type | Method and Description |
---|---|
String |
getInfo()
Return a human readable description of this Matching class
|
ResultSet |
match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
protected double |
scoreIt(WeightingModel[] wModels,
Posting posting)
calculate the score for this posting using the specified weighting models
|
protected int |
selectMinimumDocId(it.unimi.dsi.fastutil.longs.LongPriorityQueue postingHeap)
returns the docid of the lowest posting
|
finalise, getTotalTime, initialise, initialisePostings, setCollectionStatistics, updateEndTime, updateStartTime
public FullNoPLM(Index index)
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 double scoreIt(WeightingModel[] wModels, Posting posting)
wModels
- weighting models for this termposting
- the posting for the current termprotected final int selectMinimumDocId(it.unimi.dsi.fastutil.longs.LongPriorityQueue postingHeap)
public String getInfo()
BaseMatching
getInfo
in interface Matching
getInfo
in class BaseMatching
Terrier 4.0. Copyright © 2004-2014 University of Glasgow