|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.matching.BaseMatching org.terrier.matching.daat.FullNoPLM
public class FullNoPLM
Performs the matching of documents with a query, in a document-at-a-time (DAAT) manner. In particular, the posting lists for all query terms are processed in parallel (but without threads). In comparision to TAAT matching, this reduces the memory consumption during matching, as documents which will not make the final retrieved set are discarded. After matching, the document score modifiers are applied if necessary. Documents are matched in a document-at-a-time fashion.
Matching
,
Full
Field Summary |
---|
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 | |
---|---|
FullNoPLM(Index index)
Create a new Matching instance based on the specified index |
Method Summary | |
---|---|
java.lang.String |
getInfo()
Return a human readable description of this Matching class |
ResultSet |
match(java.lang.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 |
Methods inherited from class org.terrier.matching.BaseMatching |
---|
finalise, getTotalTime, initialise, initialisePostings, setCollectionStatistics, updateEndTime, updateStartTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FullNoPLM(Index index)
Method Detail |
---|
public ResultSet match(java.lang.String queryNumber, MatchingQueryTerms queryTerms) throws java.io.IOException
match
in interface Matching
match
in class BaseMatching
queryNumber
- - some ID of the queryqueryTerms
- - query terms to match
java.io.IOException
- 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 java.lang.String getInfo()
BaseMatching
getInfo
in interface Matching
getInfo
in class BaseMatching
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |