keith-turner closed pull request #108: Fix TODO for tour exercise URL: https://github.com/apache/fluo-website/pull/108
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/tour/exercise-1.md b/tour/exercise-1.md index f1652ba..fe34edd 100644 --- a/tour/exercise-1.md +++ b/tour/exercise-1.md @@ -197,9 +197,15 @@ u:http://oldnews.com/a23 uri hash a6c4d1f ## Part 2 : Computing word counts. Now that you have data loading, create an observer that watches the reference -status column. This observer should increment word counts when new content is -referenced and decrement word counts when content is dereferenced. The -observer should also delete the content when its dereferenced. +status column (*doc:refs*). This observer should take the following actions +based on the values of the columns *doc:refs* and *doc:processed*. + +| doc:refs | doc:processed | Action +| ------------ | ------------------- | ---------- +| referenced | false | Increment word counts and set *doc:processed* to *true* +| referenced | true | None +| unreferenced | false | Delete content +| unreferenced | true | Delete content and decrement word counts Make sure you handle the following scenario correctly. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
