Skip to content

Commit

Permalink
only analyze cards table not whole db on fulltext enable
Browse files Browse the repository at this point in the history
  • Loading branch information
leword committed Apr 23, 2009
1 parent a311999 commit ce45538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/fulltext.rake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace :fulltext do
cxn.execute %{ CREATE INDEX content_fti ON cards USING gist(indexed_content); }
# choosing GIST for faster updates, at least for now.
# see: http://www.postgresql.org/docs/8.3/static/textsearch-indexes.html
cxn.execute %{ vacuum full analyze }
cxn.execute %{ analyze cards }
end


Expand Down

0 comments on commit ce45538

Please sign in to comment.