diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-04-05 14:48:12 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-04-05 14:48:12 -0400 |
commit | 683ca12cf2ace7a5203e2f9340cb69b2021c2e11 (patch) | |
tree | 6f63659c20763d3e61df7c7d7a68a71c9255be1e /lib/sisu/v3/db_indexes.rb | |
parent | v3: urls, reporting, some cleaning (diff) |
v3: sql creation -v reporting reducedsisu_3.2.2
Diffstat (limited to 'lib/sisu/v3/db_indexes.rb')
-rw-r--r-- | lib/sisu/v3/db_indexes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/db_indexes.rb b/lib/sisu/v3/db_indexes.rb index f61c584f..0f41c5df 100644 --- a/lib/sisu/v3/db_indexes.rb +++ b/lib/sisu/v3/db_indexes.rb @@ -71,7 +71,7 @@ module SiSU_DbIndex end end def base - print "\n create documents common indexes\n" unless @opt.cmd =~/q/ + print "\n create documents common indexes\n" if @opt.cmd =~/[VM]/ sql_arr=[ %{CREATE INDEX idx_ocn ON doc_objects(ocn);}, %{CREATE INDEX idx_digest_clean ON doc_objects(digest_clean);}, @@ -99,7 +99,7 @@ module SiSU_DbIndex conn_execute_array(sql_arr) end def text - print "\n create documents TEXT indexes\n" unless @opt.cmd =~/q/ + print "\n create documents TEXT indexes\n" if @opt.cmd =~/[VM]/ sql_arr=[ %{CREATE INDEX idx_clean ON doc_objects(clean);}, %{CREATE INDEX idx_endnote ON endnotes(clean);} |