[
Previous: Overview] [
Contents] [
Next: Installing and Running Terrier]
What's New in Terrier
Terrier 4.0 - 18/06/2014
Major update adding significant new features:
Additionally various bugs fixes and other small improvements are also included. Some code may need to have imports adjusted, and indices will need to be upgraded.
Indexing
- TR-240: WARC10Collection logger info
- TR-289: Docid alignment is broken for MapReduce indexing when map tasks are repeated
- TR-292: All structure classes that take Index in their constructor instead take IndexOnDisk
- TR-295: WARC10Collection incorrectly misses some documents
- TR-297: Should reverse metakeys not include docno by default?
- TR-303: Make compression pluggable/selectable during indexing (contributed by Matteo Catena)
- TR-306: Locking index structures during writes
- TR-307: PostingIndex.getPostings (POINTERTYPE extends Pointer lEntry) becomes PostingIndex.getPostings(Pointer lEntry)
- TR-308: Implement extensible flushing and loading of memory indices
- TR-290: Integer compression properties should be more uniform with others
- TR-291: NoDuplicatesSinglePassIndexing could be simpler
- TR-300: (Block)Inverted2Direct should not use old int[][] getNextDocuments()
- TR-314: InvertedIndexBuilder should use DirectInvertedOutputStream internally
Retrieval
- TR-284: Improve logging on CompressingMetaIndex on disk to suggest fix SLOW WARNings
- TR-287: Terrier assumes that all retrieved document should have score > 0
- TR-293: Breakout the many inner classes of TRECQuerying
- TR-299: Document the use of DAAT for fast (default?) retrieval
- TR-301: Negative requirement not functioning correctly
- TR-304: Make appropriate fat and learning to rank techniques within the open source release
Testing
- TR-315: TestTaggedDocument does not test abstract extracting
- TR-286: MemoryFieldsIndex doesn't have a unit test
Other
- TR-296: Support indexing upgrading 3.x -> 4.x
- TR-288: TrecTerrier moved to the trec subpackage to facilitate ant building
- TR-302: Significant source layout changes
- TR-305: Simple website search engine
- TR-294: BlockLexiconEntry & BlockFieldLexiconEntry can be deprecated
- TR-298: Deprecate old index structure classes
Acknowledgements
The release of Terrier 4.0 was supported by the following projects and funding bodies
Terrier 3.6 - 03/04/2014
Substantial update:
Provides numerous updates and fixes to issues in Terrier 3.5. This is
primarily a bug-fix release clearing issues before the release of
Terrier 4.0 that adds new functionality.
Indexing
- TR-174: Indexing a directory breaks on special pdf- or excel files
- TR-178: Private method setPostingImplementation in BitPostingIndex
- TR-179: BitIn implementations should both inherit from a common base class
- TR-180: RandomDataInputMemory has an unnecessary binary search for every read()
- TR-181: Hadoop indexing should not copy hadoop libraries to a job classpath (contributed by Marco Didonna)
- TR-186: Inverted to Direct indexing is not exposed via the Trec_Terrier application
- TR-188: Stopwords incorrectly handles reset (contributed by Steven)
- TR-192: On Windows, the document.fsarrayfile is not closed, resulting in a _1 in the filename when indexing
- TR-194: TRECCollection docnos should be trimmed of whitespace
- TR-197: Terrier refuses to parse some topics (example included)
- TR-199: Block compression support (contributed by Benjamin Piwowarski)
- TR-200: Non unique keys in reverse index
- TR-201: Log4j conflicts can occur for hadoop indexing
- TR-202: Documentation for tokeniser property
- TR-205: Hadoop jar folder in distribution should not mention 0.20
- TR-206: Tag information are not loaded within BlockDirectIndex & BlockInvertedIndex (contributed by Sadi Samy)
- TR-207: Adhoc Evaluation returns bad precision at percent (contributed by Sadi Samy)
- TR-209: Allow long metaindex values to be cropped automatically by the MetaIndex
- TR-211: Indexer meta keys are case-sensitive, apart from docno
- TR-214: Indexing of metatags for XMLDocuments (contributed by Daniel Jimenez Kwast, Menno Tammens, Nicolas Faessel and Dennis Pallett)
- TR-216: Changing Hadoop temporary folder without recompiling
- TR-220: SimpleXMLCollection raise null pointer exception if document contains doctype with same the name than xml.doctag (contributed by Nicolas Faessel)
- TR-235: LexiconBuilder fails on empty term
- TR-247: WARC09Collection and TRECWebCollection are not consistent about the return format for parseDate
- TR-252: Update Apache POI versions to parse newer Word/Excel/Powerpoint files
- TR-257: IndexUtil.rename() should check rename() returns.
- TR-262: PostingIndex is the new DirectIndex and InvertedIndex abstract type
- TR-279: Termids should be assigned by decreasing frequency for highest direct file compression [single pass indexers]
Retrieval
- TR-170: ArrayIndexOutOfBoundsException in PostingListManager, add unit test for PostingListManager
- TR-173: The Decorate class incorrectly adds meta index properties when used as a PostProcess rather than a PostFilter
- TR-175: Decorate class does not remove field qualifiers when generating query-biased summaries
- TR-176: Allow abitrary context objects in SearchRequest
- TR-185: TRECQuery should not tokenise the topic number
- TR-189: TRECFullTokenizer may discard DOCNO tag, causing terrier to crash (contributed by Steven)
- TR-198: Conservative QE incorrectly weights queryterms (contributed by Saul Vargas)
- TR-203: MRF formula applies w_o twice
- TR-204: Relevance feedback for query expansion in queries without relevance judgements could throw NullPointerException
- TR-217: CS query expansion model is incorrect
- TR-228: ML2 and MDL2 are missing default constructors
- TR-229: BasicIterablePosting next(int)
- TR-230: Proximity operator ()
- TR-242: Problem with query terms frequency (key frequency = 1) using BM25
- TR-248: Error instantiating topic file QuerySource called TRECQuery
- TR-251: ResultSet implementation should know how to sort themselves
- TR-258: PhraseScoreModifier should use IterablePosting
- TR-259: FieldORIterablePosting doesnt save field lengths correctly
- TR-260: Block(Field)ORIterablePosting are inefficient
- TR-263: PostingListManager should retain the String of the term
- TR-264: Manager crops resultsets unnecessarily
- TR-266: TRECQuerying should support non textual OutputFormats
- TR-268: Query term counting doesn't work
- TR-276: Bump DFI models in core
- TR-278: The cache in WeightingModelFactory should be clearable
Documentation
- TR-195: Documentation should make clear that inverted files produced by different methods are identical
- TR-218: Documentation confuses block.size and blocks.size
- TR-223: Refactoring/Cleaning up of the package org.terrier.matching.models (contributed by Francois Rousseau)
- TR-224: configure_retrieval.html doesn't mention Dirichlet
- TR-227: Errors in Javadoc of In_expB2 and InB2 models
- TR-239: Clarify when Terrier Query language can be used viz TREC
- TR-269: Document default values for indexing.singlepass.max.postings.memory and indexing.max.docs.per.builder
Other
- TR-172: Upgrade PDFBox
- TR-210: InteractiveQuerying displays documents with scores of negative infinity
- TR-212: Evaluation doesn't support graded relevance judgements
- TR-219: TRECQrels has poor error messages
- TR-243: Terrier query language does not document multi-term field search syntax FIELD:(term1 term2)
- TR-253: Decorate & SimpleDecorate needs unit tests
- TR-254: Refactor query-biased summarisation out of Decorate
- TR-255: PostingListManager has no unit test
- TR-256: Files should check FileSystem return code for rename operation
- TR-261: CollectionStatistics should be Writable
- TR-264: Make TerrierTimer more useful
- TR-267: Get a clone of an EntryStatistics
- TR-270: Sorting of resultsets needs unit testing
- TR-271: CollectionStatistics should have a toString()
- TR-272: TerrierTimer is too verbose
- TR-273: DFR constituent models & PFN models should be Cloneable
- TR-274: Block Shakespeare tests are failing
- TR-275: TRECWebCollection doesn't normalise encodings
- TR-277: RandomDataInputMemory improvements
Terrier 3.5 - 16/06/2011
Significant update:
Added Document-at-a-time (DAAT) retrieval for large indices;
Refactored tokenisation for enhanced multi-language support;
Upgraded Hadoop support to version 0.20 (NB: Terrier now requires Java 1.6);
Added synonym support in query language and retrieval;
Added out-of-the-box indexing support for query-biased summaries and improved example web-based interface;
Added new, 2nd generation DFR models as well as other recent effective information-theoretic effective models;
Included many more JUnit tests (now 300+).
Terrier 3.0 indices are compatible with Terrier 3.5.
Indexing
- TR-117: Improve fields support by SimpleXMLCollection
- TR-120: Error loading an additional MetaIndex structure (contributed by Javier Ortega, Universidad de Sevilla)
- TR-106: Pipeline Query/Doc Policy Lifecycle (contributed by Giovanni Stilo, University degli Studi dell'Aquila and Nestor Laboratory - University of Rome "Tor Vergata")
- TR-116: Lexicon not properly renamed on Windows
- TR-118: SimpleXMLCollection - the term near the closing tag is ignored (contributed by Damien Dudognon, Institut de Recherche en Informatique de Toulouse)
- TR-123: Null pointer exception while trying to index simple document (contributed by Ilya Bogunov)
- TR-126: Logging improvements
- TR-124: When processing docid tag in MEDLINE format XML file, xml context path is needed
- TR-127: Easier refactoring of SinglePass indexers (contributed by Jonathon Hare, University of Southampton)
- TR-108: Some indexers do not set the IterablePosting class for the DirectIndex (contributed by Richard Eckart de Castilho, Darmstadt University of Technology)
- TR-136: Hadoop indexing misbehaves when terrier.index.prefix is not "data"
- TR-137: TRECCollection cannot add properties from the document tags to the meta index at indexing time
- TR-150: TRECCollection parse DOCHDR tags, including URLs should they exist (see TRECWebCollection)
- TR-138: IndexUtil.copyStructure fails when source and destination indices are same
- TR-140: Indexing support for query-biased summarisation
- TR-144: CollectionRecordReader.next should not be recursive
- TR-146, TR-148: Tokenisation should be done separately from Document parsing (the tokeniser can be set using the property tokeniser - see Non English language support in Terrier for more information on changing the tokenisation used by Terrier); Refactor Document implementations (e.g. TRECDocument and HTMLDocument are now deprecated in favour of the new TaggedDocument)
- TR-147: Allow various Collection implementations to use different Document implementations
- TR-158: Single pass indexing with default configuration doesn't ever flush memory
Retrieval
- TR-16,TR-166: Extending query language and Matching to support synonyms
- TR-157: Remove TRECQuerying scripting files: trec.models, qemodels, trec.topics.list and trec.qrels - use properties in TRECQuerying instead.
- TR-156: Deploy a DAAT matching strategy - see org.terrier.matching.daat (partially contributed by Nicola Tonellotto, CNR)
- TR-113: The LGD Loglogistic weighting model (contributed by Gianni Amati, FUB)
- TR-105: Index should check version number as it can't open older indices
- TR-107: DirectIndex.getTerms() is broken
- TR-110: TRECDocnoOutputFormat assumes metadata key is "docno"
- TR-112: "Term not found" log message should not be a warning
- TR-121: Distance.noTimesSameOrder() can throw ArrayIndexOutOfBoundsException
- TR-129: Posting.getDocumentLength() does not work for postings from the direct file
- TR-130: Manager should use Index specified in Request object
- TR-131: Parsing of WeightingModel class names could be better
- TR-132: Some BitIn implementations don't pass unit tests
- TR-139: Manager should balk at null Index in constructor
- TR-141: GammaFunction is not good enough for proximity - this fixes the retrieval effectiveness of DFRDependenceScoreModifier
- TR-142: Matching implementations should not overwrite the EntryStatistics stored in the MatchingQueryTerms object
- TR-143: BitFileBuffered creates unnecessary byte arrays
- TR-145: ResultSet implementations don't retain exactResultSize() in child ResultSets
- TR-149: Added first Divergence from Independence model, DFI0 (contributed by B.T. Dincer, Mugla University)
- TR-153,TR-154,TR-155: Provide a Matching implementation that reads results from TREC run files (see TRECResultsMatching)
- TR-160: Inv2DirectMultiReduce needs improvement to allow direct split across multiple files
- TR-161: Use Tokenisers in query side tokenisation
- TR-163: Index does not explicitly close the properties file
- TR-164: Document index structure is left open when index.close() is called
- TR-165: SingleLineTRECQuery opens all files as UTF
- TR-167: Large document metadata are stored incorrectly by MetaIndex
- Two new 2nd generation Divergence from Randomness models: JsKLs and XSqrA_M (contributed by Gianni Amati, Fondazione Ugo Bordoni)
Testing
- Added a considerable number of additional JUnit tests
- TR-134: BitPostingIndexInputFormat needs a unit test
- TR-135: TestPostingStructures should test skipping of stream structures
- TR-151: SimpleFileCollection and chums (FileDocument etc) have no unit test
- TR-159: Junit end-to-end test for WT2G test collection
Desktop
- TR-103: Desktop search cant open files on 64bit Windows
Other
- TR-168: Terrier batch scripts can fail when the TERRIER_HOME environment variable is set on Windows 64bit
- TR-115: Upgrade Hadoop support for 0.20
- TR-104: Move to Java 6
- TR-119: Temporary jar/properties in HDFS /tmp are not deleted
- TR-152: TagSet should detect a tag in both process and skip entries
Terrier 3.0 - 10/03/2010
Major update: Support for indexing WARC collections; improved index structure layout; improved MapReduce mode indexing; refined, scalable structure access at retrieval time; moved all code to terrier.org namespace; added field-based and proximity term dependence models; added HTTP-based retrieval interface; added many JUnit tests. All indices must be rebuilt.
Indexing
- TR-14, TR-42, TR-56, TR-102: Various changes to the format of the index, to promote reuse, scalability and speed.
- TR-17, TR-50, TR-54, TR-77: Added MetaIndex for document metadata. DOCNOs etc need not be in lexographical order.
- TR-43, TR-48, TR-69, TR-70: Fields should contain frequency information.
- TR-39, TR-40, TR-41, TR-46, TR-50, TR-83, TR-88: Various improvements and bug fixes to MapReduce indexing.
- TR-44, TR-55: Improve robustness of single-pass indexing.
- TR-71, TR-98: Allow Bit posting structures to be split across multiple files.
- TR-28, TR-91: Index WARC collections (UK-2006, ClueWeb09).
- TR-34: Documentation update: Property values for single-pass indexing are not scaled.
- TR-37, TR-38, TR-47,TR-57, TR-78, TR-79, TR-93, TR-94: Generate the direct file from an inverted index as a MapReduce job.
Retrieval
- TR-20, TR-42, TR-64: Access the posting list for one term as a stream - see Posting and IterablePosting.
- TR-86: Matching should be an interface.
- TR-87: PorterStemmer doesn't match expected output by Porter himself.
- TR-81: Implements proximity term dependence models. For more information, see Configuring Retrieval.
- TR-19: Support relevance feedback as well as pseudo-relevance feedback.
- TR-68, TR-73, TR-74, TR-94: Implement field-based weighting models. For more information, see Configuring Retrieval.
- TR-99: Provide way to integrate static doc prior easily. For more information, see Configuring Retrieval.
- TR-90: MatchingQueryTerms does not retain query term order.
- TR-26: Parse Million Query track topic files.
- TR-49: Let TRECQuerying filename be predetermined by property.
- TR-75: Allow to set runtag in runs.
- TR-60: Removed PonteCroft language modelling.
- TR-66, TR-84: Refactor TRECQuery.
- TR-67: Request object should contain the Index.
- TermScoreModifiers have been deprecated, and no longer work. You should use WeightingModel instead.
Testing
- Added considerable number of end-to-end and unit tests.
- TR-59: Fixed reset problem in Terrier evaluation tool.
- TR-76: Bump Junit version.
Desktop
- TR-61: Desktop example app should use MetaIndex.
Other
- TR-89: Check all .java and .sh files have Terrier license header.
- TR-82: Have a simple webapps search results interface.
- TR-80: Move code to terrier.org Java package namespaces.
- TR-45: Add (read|write)(Delta|Golomb) etc to BitIn/BitOut.
- TR-52: FSOrderedMapFile causes seek(-1) when searching for an entry less than the first.
- TR-72: FSOrderedMapFile.EntryIterator.skip() breaks FSOrderedMapFile.EntryIterator.hasNext().
- TR-95: FSArrayFile.ArrayFileIterator.skip() does not update entry index correctly.
- TR-92: utility.io.CountingInputStream does not count single bytes correctly.
- TR-53: Rounding.toString() doesnt work for 10dp.
- TR-62: Files layer can transparently cache files.
- TR-2, TR-65: Replace Terrier's Makefile with Ant build.xml. Makefile, compile.sh, compile.bat have now been removed. See Developing with Terrier to see how to compile Terrier.
- TR-63,TR-101: Documentation updates.
- TR-100: Update default and sample terrier.properties files.
Terrier 2.2.1 - 29/01/2009
Minor update - fixes some small bugs in 2.2 relating to MapReduce mode indexing, clarifies some documentation, and includes a missing source file.
- Added missing source file for SkipTermPipeline.
- Clarified java documentation for single-pass indexing memory control.
- TR-8: Delay index path checking during indexing till HDFS is loaded.
- TR-7: Files.list() does not work for HDFS paths.
- TR-4: Update the year for the copyright to 2009.
- TR-3: Partitioned Mode fails unexpectedly due to missing run status files.
Terrier 2.2 - 23/12/2008
Substantial update, consisting of new support for Hadoop, a Hadoop MapReduce indexing system, and various minor improvements and bug fixes. This is intended to be the ultimate release in the 2.x series.
Indexing
- Added new Hadoop MapReduce indexing system, and corresponding support for Hadoop MapReduce jobs.
- Refactoring of various indexing (in particular single pass indexing) to support MapReduce indexing.
- Block indexing can now use marker tokens to designate block boundaries. See Configuring Indexing for more details.
- Indexing supports named tokens which should not be passed through the term pipeline. See Configuring Indexing and SkipTermPipeline for more details.
- TRECCollection and TRECUTFCollection now index CDATA sections, to support indexing of CDIP1 collection, as used by the TREC Legal track.
- SimpleXMLCollection now indexes CDATA sections. contributed by Giovanni Stilo (University of Roma "Tor Vergata").
- LexiconBuilder no longer uses java.io.File to create temporary directories.
- Double memory reserve threshold for singlepass indexing on 64bit Sun JVMs.
- Record docno.byte.length setting in index properties file, so that indices with different docno lengths can be loaded at once.
- CollectionFactory now supports non-default Collection constructors.
Retrieval
- BUG: Lexicon and sub-classes could give incorrect results for very large lexicons (15M terms+) due to overflow of file offsets. contributed by Giovanni Stilo (University of Roma "Tor Vergata") and Gianni Amati (Fondazione Ugo Bordoni).
- BUG: Lexicon hashing would produce NPE when no term in lexicon had same initial character as query term. contributed by Gianni Amati (Fondazione Ugo Bordoni).
- BUG: .res.setting files not created for query expansion runs.
- BUG: rocchio_beta was property name while rocchio.beta was documented. rocchio.beta is now the property, while rocchio_beta is supported but deprecated.
- WeightingModels are now cloneable.
Other
- Added HadoopPlugin, allowing the HDFS filesystem paths (e.g. hdfs://namenode:9000/path/to/file) to be accessed directly from Terrier. Hadoop MapReduce jobs can also be created, using Hadoop on Demand if so-configured.
- Filesystem layer can now support deleteOnExit() semantics for filesystems.
- Worked to reduce javac generics and other compiler warnings.
- BUG: Adding a Terrier Application plugin does not cause an NPE.
- Added method to reconfigure ApplicationSetup during MapReduce jobs.
Terrier 2.1 - 19/03/2008
Minor update, containing mostly bug fixes, and a FileSystem abstraction layer.
Indexing
- BUG: trec_terrier -i -d then trec_terrier -i -v doesn't work.
- BUG: Indexing on Windows doesn't work as the index properties output streams aren't closed.
- BUG: DocumentExtraction doesn't work (thanks Brantman).
- BUG: LM Indexing throws NPE if Index doesnt exist (thanks Brantman).
- BUG: Mixed-case TrecDocTag specifications dont work (thanks Marco Bianchi and Giovanni Stilo, University of Rome "Tor Vergata").
- BUG: Corner-case HTML terms from HTMLDocument and TRECDocument may contain whitespace. trim() terms in both classes to prevent indexing problems (contributed by Carlos M Lorenzetti).
- Allow case-sensitive and case-insensitive TrecDocTag specifications. Default is case-sensitive, change using TrecDocTags.casesensitive property.
- Add useful error message when DOCNO is longer than docno.byte.length
- Retrofit all indexing file IO to Files class.
Retrieval
- Retrofit all retrieval file IO to Files class.
- Added a new TREC topics tokeniser for non-English topics. This is automatically used by TRECQuery if string.use_utf is set.
- Allow case-sensitive and case-insensitive TrecQueryTag specifications. Default is case-insensitive, change using TrecQueryTags.casesensitive property.
- Interactive Querying: Added properties to allow model, manager and matching to be controlled: interactive.manager, interactive.matching, and interactive.model.
- Try harder to allow weighting models to use their default parameter value, if no parameter value is specified.
Desktop
- Added a property desktop.indexing.singlepass to the DesktopTerrier to allow the use of single-pass indexing.
- Added properties to allow model, manager and matching to be controlled: desktop.manager, desktop.matching, and desktop.model.
Testing
- Test the trec_terrier -i -d then trec_terrier -i -v indexing strategy.
Other
- Trec_setup.bat should sort collection.spec file: change to FindFiles.
- Adding missing environment options to trec_terrier.bat and anyclass.bat.
- Fix the documentation concerning specifying TREC topic file tags in Configuring Retrieval.
- Add API to TRECQrelsInMemory for getting docnos of pooled documents with graded/non-graded relevance assessments.
- Add the FileSystem abstraction layer, which allows various types of files to be accessed through a uniform API. For example, indexing an HTTP Web page is as straightforward as indexing a local document. The FileSystem abstraction layer is described in detail in Developing Terrier.
- Removed deprecated code in CollectionStatistics.
- Removed entire uk.ac.gla.terrier.structures.trees package which had been deprecated since 1.1.0. Indexing code based on the 1.0.x release series may break.
- FindBugs: Some minor changes to the source-code reflect issues identified by FindBugs. We continue to work to address issues raised by FindBugs.
Terrier 2.0 - 04/01/2008
Major update, integrating a new (alternative) single-pass indexing architecture, and a new index format. Some bug fixes and some change of APIs.
Indexing
- New single-pass indexing, contributed by Roi Blanco (University of A Coruña). This indexing method is faster, can build larger indices, and is more robust to memory usage during indexing. To use single-pass indexing, add the -j option to TrecTerrier: bin/trec_terrier.sh -i -j. For more information on single-pass indexing, see Configuring Indexing, or TREC Example for examples of its use.
- New index on disk format: prefix.log has been replaced by prefix.properties, which records much more metadata about an index, including the Terrier version used to create it, the classes (and their constructor parameters) to read the Index, and the statistics of the index. The compressed data structures (DirectIndex and InvertedIndex) have also changed (the endian-ness of the index format changed, for efficiency reasons). However, Terrier 2.0 can read all Terrier 1.x indices, so indices do not have to be upgraded or recreated.
- The format of block (term positions) has been altered slightly, so that a term can exist in 0 blocks in a document. Again, this change does not require older indices to be upgrade or recreated.
Retrieval
- The new DFRee DFR weighting model is included, which provides robust performance on a range of test collections.
- Query parsing is now performed by the Manager.newSearchRequest(String,String). Direct access to the query parser is now not recommended, as the query parsing is likely to evolve in future versions of Terrier. See Extending Retrieval for the recommended querying code for applications.
Desktop
- BUG: When no terrier.properties present, the Desktop cannot perform query expansion using qe:on control.
- BUG: Set reasonable defaults when no terrier.properties file open.
Testing
- Merchant of Venice test harness now tests indexing using TRECUTFCollection.
- Merchant of Venice test harness now tests indexing using merging.
- Merchant of Venice test harness now tests single-pass indexing.
- Merchant of Venice test harness now tests required (+/-) term queries.
Other
- Documentation: We provide indexing times and recommended parameters settings with corresponding MAP performances in Example TREC Experiments.
- Deprecation: Methods which do not return a LexiconEntry have been deprecated in the Lexicon.
- FindBugs: Many minor changes to the source-code reflect issues identified by FindBugs. We continue to work to address issues raised by FindBugs.
- Upgraded trove4j to latest version.
Terrier 1.1.1 - 24/10/2007
Minor update. Mostly bug fixes. Some minor code enhancements, plus the inclusion of a test harness. Snowball stemmers were added to boost support for languages other than English. This will likely be the last release in the 1.x.x series.
Indexing
- BUG: When merging block indices, ensure that the resulting inverted index has blocks.
- BUG: Field indexing not working properly.
- BUG: Block ids recorded incorrectly when fields are enabled.
- BUG Resilience: Don't throw NPE in SimpleFileCollection if no files are processed.
- BUG Resilience: Don't throw exceptions if index has no terms/documents - fail more gracefully (LexiconBuilder, Indexer).
- When parsing a TREC-like document collection, use Streams at TRECCollection level, and Reader at Document level. This allows easier change of encoding, etc.
Retrieval
- BUG: When retrieving phrases, prevent Exception from debugging code in Manager.
- BUG: Regression when retrieving phrases, some documents not matched.
- BUG: DFRWeightingModel breaks when first normalisation or tf normalisation is not specified.
- BUG Resilience: Do not throw NPE in ExpansionTerms if original query terms are not set by client code.
- Create a .settings file for each TREC results file, so that it is easy to determine the setting for a run.
- Added an alternative batch query parser, known as SingleLineTRECQuery, mostly to support the test harness.
Desktop
- BUG: PDF parsing too noisy through log4j, indexing may never finish. Turned down default logging level to info.
- BUG: Logging may not appear for indexing Terrier's own documentation. Indexing run in new Thread, not SwingUtilities.invokeLater().
Other
- Tokenisation: Added Snowball stemmers. For more information, see documentation on Non English language support.
- Java: Various Java Generics changed.
- Testing: Added test harness, which checks that the correct documents are retrieved for various queries and index formats. Uses Shakespeare's Merchant of Venice play for the test document collection.
- Shell scripts: Take notice of TERRIER_ETC environment variable and pass to Terrier.
- Shell scripts: added anyclass.bat.
Terrier 1.1.0 - 15/06/2007
Major update. Many changes to the source code, including more robust indexing and index structure merging.
Indexing
Indexing architecture has been updated for Terrier 1.1.0, however indices created with 1.1.0 are completely compatible with those created with 1.0.x, and vice-versa.
- Separated string.byte.length property into two properties: max.term.length and docno.byte.length.
- Allow UTF characters in indexing, and use a compatible method for saving these in the Lexicon. This enables Terrier to be used for non-English languages. Set string.use_utf to true when indexing, and use TRECUTFCollection to parse the collection.
- Merge multiple temporary lexicons at once in LexiconBuilders. 16 seems to be a good default setting.
- Don't use tree structures for indexing, they are slower and larger (20% indexing speed improvement). New classes DocumentPostingList and LexiconMap.
- Writing structures (direct and inverted) flush normally, to reduce memory consumption.
- Add lexicon hashing to reduce size of binary search.
- LookAheadStream and LookAheadReader are now case-sensitive, as the String.toUpperCase() affects indexing speed.
- When the current indexing hits a threshold, finish it, then start a new index. Merge indices at completion. See Indexer.
- Added code for merging indices - see StructureMerger and BlockStructureMerger.
- Added a CollectionFactory, to allow Collections to wrap other Collections.
- TRECCollection no longer throws exception when used for re-indexing and docPointers.col exists (contributed by Dolf Trieschnigg, Univ of Twente).
Retrieval
- CollectionStatistics is now non-static.
- Added Hiemstra LM and Lemur TF_IDF weighting models.
- BUG: Lexicon would match prefixes of terms when the desired term does not exist in the Lexicon.
- Use a LexiconEntry, to support easier thread-safety with the Lexicon.
- Added generic DFRWeightingModel, which can generate many DFR document weighting models. More information in Extending Retrieval.
Other
- Improved documentation.
- Java: Move to Java 1.5 source, and upgrade GNU Trove jar.
- Logging: Use log4j throughout source. Log4j config can be read from etc/terrier-log.xml.
- Java: Various source code changes, to allow easier extension and re-use.
- Compiling: Included compile.bat, by Jurrie Overgoor (Univ of Twente).
Terrier 1.0.2 - 17/03/2005
- BUG: Language modelling didn't index properly when block indexing was enabled.
- BUG: Lexicon Merging compare strings the same way as the LexiconTree outputs them, to ensure sorting is correct.
- BUG: Block ids are correctly recorded in the inverted index for large collections.
- BUG: Block ids are correctly read from the direct index.
- BUG: The phrase score modifier has been rewritten to a more correct implementation.
- BUG: HTML Stack only lives for one document.
- BUG: Cropping the resultset did not function properly with metadata.
- BUG: If more than one control mapped to a post(process/filter) then only the last one would be noted. This is now fixed, and simpler data structures are used for the controls and the post(process/filter).
- TREC: During indexing, start indexing from the beginning of a new file, not from the previous state.
- TREC: Added trec.collection.class property to allow TRECIndexing to determine the TREC class to be used during indexing.
- Added DLH Divergence From Randomness model - this hyper-geometric weighting model is completely parameter free and is very robust over many test collections.
- Query Parser: Allow characters in the extended character set to be in terms.
- LookAheadReader: Corrected implementation of Reader interface to give better support wrt EOF and subsequent method calls.
- Added more TermPipeline classes: CropTerm, DumpTerm.
- Updated and organised documentation and Javadoc.
Terrier 1.0.1 - 09/02/2005
- BUG 1: bin/interactive_terrier.bat doesn't run the correct class.
- BUG 2: bin/compile.sh compiles the ANTLR parser correctly.
- BUG: Lexicon binary search failed when searching for the last entry. Binary search has been updated.
- Document Index binary search made more robust for different types of documentIds.
- Desktop Terrier: starts new threads using correct Swing utility API.
- Desktop Terrier: close PDF documents correctly.
- Desktop Terrier: search text logging is slightly more robust.
- Desktop Terrier: always disable search tab while indexing.
- Desktop Terrier: temporary lexicon folders are deleted if they exist in the index folder before indexing.
- Desktop Terrier: process only 25,000 terms at a time during block inverted index building, as only 120MB heap space is restrictive.
- TREC: Model, QEModel & C value is displayed correctly in TREC querying and results file.
- Documentation: Removed Known Issue 1 from doc/todo.html.
- Documentation: Updated javadoc in ApplicationSetup.java.
- Documentation: Added more details about compiling in doc/terrier_develop.html.
Terrier 1.0.0 - 28/01/2005
- New Indexing APIs, that allow more diverse forms of collections to be easily indexed.
- New Querying API and languages (eg fields, phrases, proximity, requirements).
- More Statistical IR Models: tf-idf, BM25, Divergence From Randomness models, and Ponte-Croft language model.
- More example applications, including a Desktop Search application.
Terrier 1.0 Beta2 - 22/11/2004
- Minor bugfix release - documentation error.
Terrier 1.0 Beta - 18/11/2004
- First public release of Terrier.
[
Previous: Overview] [
Contents] [
Next: Installing and Running Terrier]