Deprecated API


Contents
Deprecated Interfaces
org.terrier.structures.Closeable
          Use java.io.Closeable instead 
org.terrier.indexing.DocumentExtractor
           
org.terrier.matching.tsms.TermScoreModifier
          Use WeightingModel instead. 
 

Deprecated Classes
org.terrier.compression.BitFile
          Use BitFileBuffered and BitOutputStream instead 
org.terrier.structures.indexing.BlockLexiconBuilder
            
org.terrier.indexing.HTMLDocument
           
org.terrier.indexing.TRECDocument
           
org.terrier.indexing.TRECFullUTFTokenizer
          From 3.5, TRECFullTokenizer should be used instead, with trec.encoding set to utf8. 
org.terrier.applications.TRECQueryingExpansion
          This class performs a batch mode retrieval for a set of TREC queries using query expansion.

Properties

  • c.post The term frequency normalisation parameter value used in the second-pass retrieval.
  • trec.qe.model - name of the model to use for query expansion. If unset, then one will be read from etc/qemodels
  •  
    org.terrier.indexing.TRECUTFCollection
               
     

    Deprecated Fields
    org.terrier.utility.ApplicationSetup.EXPANSION_MODELS
              As of Terrier 3.5 The name of the file which contains the query expansion methods used. The corresponding property is expansion.models and the default value is qemodels. If a relative path is given, it is prefixed with TERRIER_ETC. 
    org.terrier.utility.ApplicationSetup.TREC_MODELS
              As of Terrier 3.5 The filename of the file that contains the weighting models to be used. The corresponding property is trec.models and the default value is trec.models. If a relative path is given, then it is prefixed with TERRIER_ETC. 
    org.terrier.utility.ApplicationSetup.TREC_QRELS
              As of Terrier 3.5 The name of the file that contains a list of qrels files to be used for evaluation. The corresponding property is trec.qrels and its default value is trec.qrels. If a relative path is given, TERRIER_ETC will be prefixed. 
    org.terrier.utility.ApplicationSetup.TREC_TOPICS_LIST
              As of Terrier 3.5 The name of the file that contains a list of files where queries are stored. The corresponding property is trec.topics.list and the default value is trec.topics.list. If a relative path is given, TERRIER_ETC will be prefixed. 
     

    Deprecated Methods
    org.terrier.structures.indexing.LexiconBuilder.addTemporaryLexicon(String)
                
    org.terrier.structures.indexing.LexiconBuilder.createLexiconHash(Index)
              use optimise instead 
    org.terrier.structures.indexing.LexiconBuilder.createLexiconIndex(Index)
              use optimise instead 
    org.terrier.compression.BitOutputStream.flush()
                
    org.terrier.structures.DirectInvertedOutputStream.getBitOffset()
                
    org.terrier.structures.DirectInvertedOutputStream.getByteOffset()
                
    org.terrier.indexing.TRECCollection.getDocument(TagSet, TagSet, TagSet)
               
    org.terrier.indexing.TRECCollection.getDocumentString(int)
               
    org.terrier.matching.OldBasicMatching.getResultSet()
              match() now returns the ResultSet 
    org.terrier.structures.TRECQuery.getTopicFilenames()
                
    org.terrier.structures.TRECQuery.hasMoreQueries()
                
    org.terrier.structures.TRECQuery.nextQuery()
                
    org.terrier.utility.Distance.noTimesSameOrder(int[][], int)
               
    org.terrier.matching.models.WeightingModel.setAverageDocumentLength(double)
              Use setCollectionStatistics(CollectionStatistics) 
    org.terrier.matching.models.WeightingModel.setDocumentFrequency(double)
              Use setEntryStatistics(EntryStatistics) 
    org.terrier.matching.OldBasicMatching.setModel(Model)
                
    org.terrier.matching.models.WeightingModel.setNumberOfDocuments(double)
              Use setCollectionStatistics(CollectionStatistics) 
    org.terrier.matching.models.WeightingModel.setNumberOfPointers(double)
              Use setCollectionStatistics(CollectionStatistics) 
    org.terrier.matching.models.WeightingModel.setNumberOfTokens(double)
              Use setCollectionStatistics(CollectionStatistics) 
    org.terrier.matching.models.WeightingModel.setNumberOfUniqueTerms(double)
              Use setCollectionStatistics(CollectionStatistics) 
    org.terrier.matching.models.WeightingModel.setTermFrequency(double)
              Use setEntryStatistics(EntryStatistics) 
    org.terrier.utility.ApplicationSetup.setupFilenames()
                
     

    Deprecated Constructors
    org.terrier.structures.BitPostingIndex(String, byte, Class, String)
               
     



    Terrier 3.5. Copyright © 2004-2011 University of Glasgow