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

          craigm Craig Macdonald created issue -
          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.
          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 -

          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 -

          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 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/
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Summary Change layout of indexing and compression Significant layout changes
          craigm Craig Macdonald made changes -
          Summary Significant layout changes Significant source layout changes
          Hide
          craigm Craig Macdonald added a comment -

          Movements of classes.

          Show
          craigm Craig Macdonald added a comment - Movements of classes.
          craigm Craig Macdonald made changes -
          Attachment TREC-369-movements.txt [ 10414 ]
          craigm Craig Macdonald made changes -
          Link This issue is related to TREC-384 [ TREC-384 ]
          Hide
          craigm Craig Macdonald added a comment -

          Woohoo. Committed r3832.

          Show
          craigm Craig Macdonald added a comment - Woohoo. Committed r3832.
          craigm Craig Macdonald made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          richardm Richard McCreadie made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-369 TR-302
          Workflow jira [ 10810 ] Terrier Open Source [ 10865 ]
          Component/s Core [ 10020 ]
          Fix Version/s 4.0 [ 10051 ]
          Fix Version/s 4.0 [ 10050 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: