[groonga-commit:573] groonga [groonga (trunk) r608] * collect last modified time.
null at cozmixng.org
null at cozmixng.org
Fri Jul 31 06:10:57 EDT 2009
retro 2009-07-31 19:10:56 +0900 (Fri, 31 Jul 2009)
New Revision: 608
Log:
* collect last modified time.
Modified files:
groonga/trunk/example/index-html.rb
Modified: groonga/trunk/example/index-html.rb (+2 -0)
===================================================================
--- groonga/trunk/example/index-html.rb 2009-07-31 17:44:16 +09:00 (rev 607)
+++ groonga/trunk/example/index-html.rb 2009-07-31 19:10:56 +09:00 (rev 608)
@@ -30,6 +30,7 @@
table.string("title")
table.text("content")
table.string("path")
+ table.time("last-modified")
end
schema.create_table("terms",
@@ -57,6 +58,7 @@
document.css("body").each do |body|
values[:content] = body.text
end
+ values["last-modified"] = path.mtime
documents.add(values)
end
end
More information about the groonga-commit
mailing list