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, updateStartTimepublic FullNoPLM(Index index)
public ResultSet match(String queryNumber, MatchingQueryTerms queryTerms) throws IOException
match in interface Matchingmatch in class BaseMatchingqueryNumber - - 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()
BaseMatchinggetInfo in interface MatchinggetInfo in class BaseMatchingTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow