org.terrier.querying
Class RelevanceFeedbackSelectorDocids
java.lang.Object
org.terrier.querying.FeedbackSelector
org.terrier.querying.RelevanceFeedbackSelectorDocids
public class RelevanceFeedbackSelectorDocids
- extends FeedbackSelector
A feedback document selector that operates as RelevanceFeedbackSelector, except
that this should be used when docids are specified in the qrels file, not docnos.
Properties:
- qe.feedback.filename - filename of qrels file to use for feedback.
- Since:
- 3.0
- Author:
- Craig Macdonald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
doi
protected DocumentIndex doi
queryidRelDocumentMap
protected gnu.trove.THashMap<java.lang.String,gnu.trove.TIntByteHashMap> queryidRelDocumentMap
RelevanceFeedbackSelectorDocids
public RelevanceFeedbackSelectorDocids()
- default constructor
setIndex
public void setIndex(Index index)
- Set the index to be used
- Overrides:
setIndex
in class FeedbackSelector
getFeedbackDocuments
public FeedbackDocument[] getFeedbackDocuments(Request request)
- Obtain feedback documents for the specified query request
- Specified by:
getFeedbackDocuments
in class FeedbackSelector
Terrier 3.5. Copyright © 2004-2011 University of Glasgow