fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [fluo-website] 01/02: Improved Fluo Tour exercise
Date Wed, 08 Nov 2017 22:29:18 GMT
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 <lima.lucaslv@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" <commits@fluo.apache.org>.

Mime
View raw message