[TR-360] Support updating the contents of documents in MemoryIndex Created: 13/Nov/15  Updated: 01/Dec/15  Resolved: 13/Nov/15

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

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


 Description   
Proposed additions to UpdatableIndex:

/** Adds specified content contents to the named document id.
* Returns true if supported & successful. */
public boolean addToDocument(int docid, Document doc) throws Exception;

/** Adds relevant terms to the named document id.
* Returns true if supported & successful. */
public boolean addToDocument(int docid, DocumentPostingList docContents) throws Exception;

 Comments   
Comment by Craig Macdonald [ 13/Nov/15 ]

Changes to MemoryIndex etc reviewed by Richard. Committed to 4.1 branch.

Generated at Mon Dec 11 13:32:14 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.