Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-302

Significant source layout changes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      We now need to separate the following types of classes:
       - Indexers (e.g. classical, singlepass, hadoop) should not be the "indexing" package. Classes relating to each should have specific packages.
       - Compression classes (bit, or integer/byte) should have separate sub-packages under compression.
       - Index structure classes and posting iterator that are specific to a particular compression implements (bit vs integer) should also be separated into sub-packages.

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          Woohoo. Committed r3832.

          Show
          craigm Craig Macdonald added a comment - Woohoo. Committed r3832.
          Hide
          craigm Craig Macdonald added a comment -

          Movements of classes.

          Show
          craigm Craig Macdonald added a comment - Movements of classes.
          Hide
          craigm Craig Macdonald added a comment -

          We have created the following folders under src/:

          • trec/
          • desktop/
          • websitesearch/
          Show
          craigm Craig Macdonald added a comment - We have created the following folders under src/: trec/ desktop/ websitesearch/
          Hide
          craigm Craig Macdonald added a comment -

          Desktop application moved to src/desktop - done

          Show
          craigm Craig Macdonald added a comment - Desktop application moved to src/desktop - done
          Hide
          craigm Craig Macdonald added a comment -

          We have consensus on the first.

          Show
          craigm Craig Macdonald added a comment - We have consensus on the first.
          Hide
          craigm Craig Macdonald added a comment - - edited

          Richard, how would the updatable realtime indices integrate with the above structure?

          Show
          craigm Craig Macdonald added a comment - - edited Richard, how would the updatable realtime indices integrate with the above structure?
          Hide
          craigm Craig Macdonald added a comment -

          One proposed layout within org.terrier:

          • compression
            • bit
            • byte
          • indexing/
            • tokenisation/
          • structures/
            • bit/
            • bytes/
            • postings/
              • bit/
              • byte/
            • indexers/
              • classical/
              • singlepass/
              • hadoop/

          The alternative is have an overall structure, which is (optionally) mirrored inside some sub-packages:

          • indexing/
            • tokenisation/
          • structures/
            • indexers/
              • classical/
              • singlepass/
              • hadoop/
            • postings/
          • bit
            • structures/ (optional)
            • postings/ (optional)
          • byte
            • structures/ (optional)
            • postings/ (optional)

          Let me know your thoughts.

          Show
          craigm Craig Macdonald added a comment - One proposed layout within org.terrier: compression bit byte indexing/ tokenisation/ structures/ bit/ bytes/ postings/ bit/ byte/ indexers/ classical/ singlepass/ hadoop/ The alternative is have an overall structure, which is (optionally) mirrored inside some sub-packages: indexing/ tokenisation/ structures/ indexers/ classical/ singlepass/ hadoop/ postings/ bit structures/ (optional) postings/ (optional) byte structures/ (optional) postings/ (optional) Let me know your thoughts.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: