org.terrier.matching.taat
Class Full
java.lang.Object
org.terrier.matching.BaseMatching
org.terrier.matching.taat.Full
- All Implemented Interfaces:
- Matching
public class Full
- extends BaseMatching
An exhaustive TAAT approach for matching documents to a query.
This Matching strategy uses the PostingListManager for opening
and scoring postings.
- Since:
- 3.0
- Author:
- Nicola Tonellotto, Craig Macdonald
- See Also:
PostingListManager
Fields inherited from class org.terrier.matching.BaseMatching |
collectionStatistics, documentModifiers, dsmNamespace, IGNORE_LOW_IDF_TERMS, index, invertedIndex, lexicon, logger, MATCH_EMPTY_QUERY, numberOfRetrievedDocuments, queryTermsToMatchList, resultSet, RETRIEVED_SET_SIZE, totalTime, wm |
Constructor Summary |
Full(Index index)
Create a new Matching instance based on the specified index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Full
public Full(Index index)
- Create a new Matching instance based on the specified index
getInfo
public java.lang.String getInfo()
- Return a human readable description of this Matching class
- Specified by:
getInfo
in interface Matching
- Specified by:
getInfo
in class BaseMatching
match
public ResultSet match(java.lang.String queryNumber,
MatchingQueryTerms queryTerms)
throws java.io.IOException
- Get a ResultSet for the given query terms.
- Specified by:
match
in interface Matching
- Specified by:
match
in class BaseMatching
- Parameters:
queryNumber
- - some ID of the queryqueryTerms
- - query terms to match
- Returns:
- ResultSet - the matched results
- Throws:
java.io.IOException
- if a problem occurs during matching
assignScores
protected void assignScores(int i,
AccumulatorResultSet rs,
IterablePosting postings)
throws java.io.IOException
- Throws:
java.io.IOException
initialisePostings
protected void initialisePostings(MatchingQueryTerms queryTerms)
- Overrides:
initialisePostings
in class BaseMatching
Terrier 3.5. Copyright © 2004-2011 University of Glasgow