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

Support updating the contents of documents in MemoryIndex

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: None
    • 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;

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

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

          Show
          craigm Craig Macdonald added a comment - Changes to MemoryIndex etc reviewed by Richard. Committed to 4.1 branch.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: