Remove spurious comment

This commit is contained in:
Erik Johnston 2016-11-03 15:04:32 +00:00
parent 8fd4d9129f
commit 64c6566980
1 changed files with 2 additions and 2 deletions

View File

@ -151,13 +151,13 @@ class SearchStore(BackgroundUpdateStore):
conn.set_session(autocommit=True) conn.set_session(autocommit=True)
c = conn.cursor() c = conn.cursor()
# We create with NULLS FIRST so that when we search *backwards*
# we get the ones with non null origin_server_ts *first*
c.execute( c.execute(
"CREATE INDEX CONCURRENTLY event_search_fts_idx_gist" "CREATE INDEX CONCURRENTLY event_search_fts_idx_gist"
" ON event_search USING GIST (vector)" " ON event_search USING GIST (vector)"
) )
c.execute("DROP INDEX event_search_fts_idx") c.execute("DROP INDEX event_search_fts_idx")
conn.set_session(autocommit=False) conn.set_session(autocommit=False)
if isinstance(self.database_engine, PostgresEngine): if isinstance(self.database_engine, PostgresEngine):