[TR-302] Significant source layout changes Created: 25/Apr/14  Updated: 16/Jun/14  Resolved: 20/May/14

Status: Resolved
Project: Terrier Core
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0

Type: Improvement Priority: Major
Reporter: Craig Macdonald Assignee: Craig Macdonald
Resolution: Fixed  
Labels: None

Attachments: Text File TREC-369-movements.txt    
Issue Links:
Related

 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.

 Comments   
Comment by Craig Macdonald [ 25/Apr/14 ]

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.

Comment by Craig Macdonald [ 25/Apr/14 ]

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

Comment by Craig Macdonald [ 06/May/14 ]

We have consensus on the first.

Comment by Craig Macdonald [ 20/May/14 ]

Desktop application moved to src/desktop - done

Comment by Craig Macdonald [ 20/May/14 ]

We have created the following folders under src/:

  • trec/
  • desktop/
  • websitesearch/
Comment by Craig Macdonald [ 20/May/14 ]

Movements of classes.

Comment by Craig Macdonald [ 20/May/14 ]

Woohoo. Committed r3832.

Generated at Thu Dec 14 02:34:49 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.