You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by kt...@apache.org on 2017/11/08 22:29:18 UTC
[fluo-website] 01/02: Improved Fluo Tour exercise
This is an automated email from the ASF dual-hosted git repository.
kturner pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/fluo-website.git
commit d826227a06928678e1615e9eae5a3fe847120065
Author: Lucas Vieira <li...@gmail.com>
AuthorDate: Sun Nov 5 23:19:05 2017 -0300
Improved Fluo Tour exercise
---
tour/exercise-1.md | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/tour/exercise-1.md b/tour/exercise-1.md
index 92d8afb..1711043 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.
--
To stop receiving notification emails like this one, please contact
"commits@fluo.apache.org" <co...@fluo.apache.org>.