public class Full extends BaseMatching
PostingListManagercollectionStatistics, 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 |
assignScore(int i,
CandidateResult cc)
assign the score for this posting to this candidate result.
|
String |
getInfo()
Return a human readable description of this Matching class
|
protected void |
initialisePostings(MatchingQueryTerms queryTerms) |
protected CandidateResult |
makeCandidateResult(int currentDocId) |
protected CandidateResultSet |
makeResultSet(Queue<CandidateResult> candidateResultList) |
ResultSet |
match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
protected int |
selectMinimumDocId(it.unimi.dsi.fastutil.longs.LongPriorityQueue postingHeap)
returns the docid of the lowest posting
|
finalise, getTotalTime, initialise, setCollectionStatistics, updateEndTime, updateStartTimepublic Full(Index index)
protected void initialisePostings(MatchingQueryTerms queryTerms)
initialisePostings in class BaseMatchingpublic 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 CandidateResultSet makeResultSet(Queue<CandidateResult> candidateResultList)
protected CandidateResult makeCandidateResult(int currentDocId)
protected void assignScore(int i,
CandidateResult cc)
throws IOException
i - which query term index this representscc - the candidate result object for this documentIOExceptionprotected final int selectMinimumDocId(it.unimi.dsi.fastutil.longs.LongPriorityQueue postingHeap)
public String getInfo()
getInfo in interface MatchinggetInfo in class BaseMatchingTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow