IDEAS home Printed from https://ideas.repec.org/a/bla/jamest/v46y1995i7p537-550.html
   My bibliography  Save this article

In situ generation of compressed inverted files

Author

Listed:
  • Alistair Moffat
  • Timothy A. H. Bell

Abstract

An inverted index stores, for each term that appears in a collection of documents, a list of document numbers containing that term. Such an index is indispensable when Boolean or informal ranked queries are to be answered. Construction of the index is, however, a nontrivial task. Simple methods using in‐memory data structures cannot be used for large collections because they require too much random access storage, and traditional disk‐based methods require large amounts of temporary file space. This paper describes a new indexing algorithm designed to create large compressed inverted indexes in situ. It makes use of simple compression codes for the positive integers and an in‐place external multi‐way mergesort. The new technique has been used to invert a two‐gigabyte text collection in under 4 hours, using less than 40 megabytes of temporary disk space, and less than 20 megabytes of main memory. © 1995 John Wiley & Sons, Inc.

Suggested Citation

  • Alistair Moffat & Timothy A. H. Bell, 1995. "In situ generation of compressed inverted files," Journal of the American Society for Information Science, Association for Information Science & Technology, vol. 46(7), pages 537-550, August.
  • Handle: RePEc:bla:jamest:v:46:y:1995:i:7:p:537-550
    DOI: 10.1002/(SICI)1097-4571(199508)46:73.0.CO;2-P
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/(SICI)1097-4571(199508)46:73.0.CO;2-P
    Download Restriction: no

    File URL: https://libkey.io/10.1002/(SICI)1097-4571(199508)46:73.0.CO;2-P?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bla:jamest:v:46:y:1995:i:7:p:537-550. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Wiley Content Delivery (email available below). General contact details of provider: http://www.asis.org .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.